CommitResponse.fromJson constructor

CommitResponse.fromJson(
  1. Map json_
)

Implementation

CommitResponse.fromJson(core.Map json_)
    : this(
        commitTime: json_.containsKey('commitTime')
            ? json_['commitTime'] as core.String
            : null,
        writeResults: json_.containsKey('writeResults')
            ? (json_['writeResults'] as core.List)
                .map((value) => WriteResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );