ConversionStatus.fromJson constructor

ConversionStatus.fromJson(
  1. Map json_
)

Implementation

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