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,
      );