GoogleFirebaseFcmRegistrationV1Web.fromJson constructor
GoogleFirebaseFcmRegistrationV1Web.fromJson(
- Map _json
Implementation
GoogleFirebaseFcmRegistrationV1Web.fromJson(core.Map _json)
: this(
applicationPubKey: _json.containsKey('applicationPubKey')
? _json['applicationPubKey'] as core.String
: null,
auth: _json.containsKey('auth') ? _json['auth'] as core.String : null,
endpoint: _json.containsKey('endpoint')
? _json['endpoint'] as core.String
: null,
p256dh: _json.containsKey('p256dh')
? _json['p256dh'] as core.String
: null,
);