ResponseMetaData.fromJson constructor

ResponseMetaData.fromJson(
  1. Map _json
)

Implementation

ResponseMetaData.fromJson(core.Map _json)
    : this(
        currencyCode: _json.containsKey('currencyCode')
            ? _json['currencyCode'] as core.String
            : null,
        dataLossFromOtherRow: _json.containsKey('dataLossFromOtherRow')
            ? _json['dataLossFromOtherRow'] as core.bool
            : null,
        emptyReason: _json.containsKey('emptyReason')
            ? _json['emptyReason'] as core.String
            : null,
        schemaRestrictionResponse:
            _json.containsKey('schemaRestrictionResponse')
                ? SchemaRestrictionResponse.fromJson(
                    _json['schemaRestrictionResponse']
                        as core.Map<core.String, core.dynamic>)
                : null,
        subjectToThresholding: _json.containsKey('subjectToThresholding')
            ? _json['subjectToThresholding'] as core.bool
            : null,
        timeZone: _json.containsKey('timeZone')
            ? _json['timeZone'] as core.String
            : null,
      );