fromJson_features static method

List<FeatureState> fromJson_features(
  1. Map<String, dynamic> json
)

Implementation

static List<FeatureState> fromJson_features(Map<String, dynamic> json) {
  final _jsonData = json[r'features'];
  if (_jsonData == null) {
    return const [];
  }
  return (_jsonData == null)
      ? []
      : ((dynamic data) {
          return FeatureState.listFromJson(data);
        }(_jsonData));
}