CreateTableRequest.fromJson constructor

CreateTableRequest.fromJson(
  1. Map json_
)

Implementation

CreateTableRequest.fromJson(core.Map json_)
    : this(
        initialSplits: json_.containsKey('initialSplits')
            ? (json_['initialSplits'] as core.List)
                .map((value) => Split.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        table: json_.containsKey('table')
            ? Table.fromJson(
                json_['table'] as core.Map<core.String, core.dynamic>)
            : null,
        tableId: json_.containsKey('tableId')
            ? json_['tableId'] as core.String
            : null,
      );