$ConversionError.fromJson constructor Null safety

$ConversionError.fromJson(
  1. Map _json
)

Implementation

$ConversionError.fromJson(core.Map _json)
    : this(
        code: _json.containsKey('code') ? _json['code'] as core.String : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        message: _json.containsKey('message')
            ? _json['message'] as core.String
            : null,
      );