TableList.fromJson constructor

TableList.fromJson(
  1. Map json_
)

Implementation

TableList.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        tables: json_.containsKey('tables')
            ? (json_['tables'] as core.List)
                .map((value) => TableListTables.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalItems: json_.containsKey('totalItems')
            ? json_['totalItems'] as core.int
            : null,
      );