ReportResponse.fromJson constructor

ReportResponse.fromJson(
  1. Map json_
)

Implementation

ReportResponse.fromJson(core.Map json_)
    : this(
        reportErrors: json_.containsKey('reportErrors')
            ? (json_['reportErrors'] as core.List)
                .map((value) => ReportError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        serviceConfigId: json_.containsKey('serviceConfigId')
            ? json_['serviceConfigId'] as core.String
            : null,
        serviceRolloutId: json_.containsKey('serviceRolloutId')
            ? json_['serviceRolloutId'] as core.String
            : null,
      );