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