Registration.fromJson constructor

Registration.fromJson(
  1. Map json_
)

Implementation

Registration.fromJson(core.Map json_)
    : this(
        cloudPubsubTopic: json_.containsKey('cloudPubsubTopic')
            ? CloudPubsubTopic.fromJson(json_['cloudPubsubTopic']
                as core.Map<core.String, core.dynamic>)
            : null,
        expiryTime: json_.containsKey('expiryTime')
            ? json_['expiryTime'] as core.String
            : null,
        feed: json_.containsKey('feed')
            ? Feed.fromJson(
                json_['feed'] as core.Map<core.String, core.dynamic>)
            : null,
        registrationId: json_.containsKey('registrationId')
            ? json_['registrationId'] as core.String
            : null,
      );