fromJson static method
Inherited by: DeviceTokenApplePush DeviceTokenApplePushVoIP DeviceTokenBlackBerryPush DeviceTokenFirebaseCloudMessaging DeviceTokenHuaweiPush DeviceTokenMicrosoftPush DeviceTokenMicrosoftPushVoIP DeviceTokenSimplePush DeviceTokenTizenPush DeviceTokenUbuntuPush DeviceTokenWebPush DeviceTokenWindowsPush
Implementation
static DeviceTokenSimplePush? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DeviceTokenSimplePush(endpoint: (json['endpoint'] as String?) ?? '');
}