getFeatureStates_decode method

Future<List<FeatureEnvironmentCollection>> getFeatureStates_decode(
  1. Stream<List<int>> body
)

Implementation

Future<List<FeatureEnvironmentCollection>> getFeatureStates_decode(
    Stream<List<int>> body) async {
  return (LocalApiClient.deserializeFromString(await utf8.decodeStream(body),
          'List<FeatureEnvironmentCollection>') as List)
      .map((item) => item as FeatureEnvironmentCollection)
      .toList();
}