MutationResult.fromJson constructor

MutationResult.fromJson(
  1. Map json_
)

Implementation

MutationResult.fromJson(core.Map json_)
    : this(
        conflictDetected: json_.containsKey('conflictDetected')
            ? json_['conflictDetected'] as core.bool
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        key: json_.containsKey('key')
            ? Key.fromJson(
                json_['key'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );