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