DocumentDelete.fromJson constructor

DocumentDelete.fromJson(
  1. Map _json
)

Implementation

DocumentDelete.fromJson(core.Map _json)
    : this(
        document: _json.containsKey('document')
            ? _json['document'] as core.String
            : null,
        readTime: _json.containsKey('readTime')
            ? _json['readTime'] as core.String
            : null,
        removedTargetIds: _json.containsKey('removedTargetIds')
            ? (_json['removedTargetIds'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
      );