Report.fromJson constructor

Report.fromJson(
  1. Map json_
)

Implementation

Report.fromJson(core.Map json_)
    : this(
        columnHeader: json_.containsKey('columnHeader')
            ? ColumnHeader.fromJson(
                json_['columnHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        data: json_.containsKey('data')
            ? ReportData.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );