WriteResult.fromJson constructor

WriteResult.fromJson(
  1. Map json_
)

Implementation

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