WatchTarget.fromJson constructor

WatchTarget.fromJson(
  1. Map json_
)

Implementation

WatchTarget.fromJson(core.Map json_)
  : this(
      topic:
          json_.containsKey('topic')
              ? CloudPubsubTopic.fromJson(
                json_['topic'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );