listFromJson static method

List<FeatureState> listFromJson(
  1. List? json
)

Implementation

static List<FeatureState> listFromJson(List<dynamic>? json) {
  return json == null
      ? <FeatureState>[]
      : json.map((value) => FeatureState.fromJson(value)).toList();
}