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