PubSubIODetails.fromJson constructor

PubSubIODetails.fromJson(
  1. Map _json
)

Implementation

PubSubIODetails.fromJson(core.Map _json)
    : this(
        subscription: _json.containsKey('subscription')
            ? _json['subscription'] as core.String
            : null,
        topic:
            _json.containsKey('topic') ? _json['topic'] as core.String : null,
      );