PartitionReadRequest.fromJson constructor

PartitionReadRequest.fromJson(
  1. Map json_
)

Implementation

PartitionReadRequest.fromJson(core.Map json_)
    : this(
        columns: json_.containsKey('columns')
            ? (json_['columns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        index:
            json_.containsKey('index') ? json_['index'] as core.String : null,
        keySet: json_.containsKey('keySet')
            ? KeySet.fromJson(
                json_['keySet'] as core.Map<core.String, core.dynamic>)
            : null,
        partitionOptions: json_.containsKey('partitionOptions')
            ? PartitionOptions.fromJson(json_['partitionOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        table:
            json_.containsKey('table') ? json_['table'] as core.String : null,
        transaction: json_.containsKey('transaction')
            ? TransactionSelector.fromJson(
                json_['transaction'] as core.Map<core.String, core.dynamic>)
            : null,
      );