TableDataInsertAllRequest.fromJson constructor

TableDataInsertAllRequest.fromJson(
  1. Map json_
)

Implementation

TableDataInsertAllRequest.fromJson(core.Map json_)
    : this(
        ignoreUnknownValues: json_.containsKey('ignoreUnknownValues')
            ? json_['ignoreUnknownValues'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        rows: json_.containsKey('rows')
            ? (json_['rows'] as core.List)
                .map((value) => TableDataInsertAllRequestRows.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        skipInvalidRows: json_.containsKey('skipInvalidRows')
            ? json_['skipInvalidRows'] as core.bool
            : null,
        templateSuffix: json_.containsKey('templateSuffix')
            ? json_['templateSuffix'] as core.String
            : null,
        traceId: json_.containsKey('traceId')
            ? json_['traceId'] as core.String
            : null,
      );