ExecuteBatchDmlRequest.fromJson constructor

ExecuteBatchDmlRequest.fromJson(
  1. Map json_
)

Implementation

ExecuteBatchDmlRequest.fromJson(core.Map json_)
    : this(
        requestOptions: json_.containsKey('requestOptions')
            ? RequestOptions.fromJson(json_['requestOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        seqno:
            json_.containsKey('seqno') ? json_['seqno'] as core.String : null,
        statements: json_.containsKey('statements')
            ? (json_['statements'] as core.List)
                .map((value) => Statement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        transaction: json_.containsKey('transaction')
            ? TransactionSelector.fromJson(
                json_['transaction'] as core.Map<core.String, core.dynamic>)
            : null,
      );