CloudPubsubTopic.fromJson constructor

CloudPubsubTopic.fromJson(
  1. Map _json
)

Implementation

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