CommitRequest.fromJson constructor

CommitRequest.fromJson(
  1. Map json_
)

Implementation

CommitRequest.fromJson(core.Map json_)
    : this(
        transaction: json_.containsKey('transaction')
            ? json_['transaction'] as core.String
            : null,
        writes: json_.containsKey('writes')
            ? (json_['writes'] as core.List)
                .map((value) => Write.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );