fromApi static method

TrendRouteArg? fromApi(
  1. GeneratorTrend apiTrend
)

Implementation

static TrendRouteArg? fromApi(GeneratorTrend apiTrend) =>
    values.firstWhereOrNull((t) => t.apiTrend == apiTrend);