PubsubSnapshotMetadata.fromJson constructor

PubsubSnapshotMetadata.fromJson(
  1. Map _json
)

Implementation

PubsubSnapshotMetadata.fromJson(core.Map _json)
    : this(
        expireTime: _json.containsKey('expireTime')
            ? _json['expireTime'] as core.String
            : null,
        snapshotName: _json.containsKey('snapshotName')
            ? _json['snapshotName'] as core.String
            : null,
        topicName: _json.containsKey('topicName')
            ? _json['topicName'] as core.String
            : null,
      );