mapFromJson static method

Map<String, StrategyAttributeWellKnownNames> mapFromJson(
  1. Map<String, dynamic>? json
)

Implementation

static Map<String, StrategyAttributeWellKnownNames> mapFromJson(
    Map<String, dynamic>? json) {
  final map = <String, StrategyAttributeWellKnownNames>{};
  if (json != null && json.isNotEmpty) {
    json.forEach((String key, dynamic value) {
      final val = fromJson(value);
      if (val != null) {
        map[key] = val;
      }
    });
  }
  return map;
}