ConversionList.fromJson constructor

ConversionList.fromJson(
  1. Map json_
)

Implementation

ConversionList.fromJson(core.Map json_)
    : this(
        conversion: json_.containsKey('conversion')
            ? (json_['conversion'] as core.List)
                .map((value) => Conversion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );