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