CommitRequest.fromJson constructor

CommitRequest.fromJson(
  1. Map json_
)

Implementation

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