DeviceTokenFirebaseCloudMessaging.fromJson constructor

DeviceTokenFirebaseCloudMessaging.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory DeviceTokenFirebaseCloudMessaging.fromJson(
        Map<String, dynamic> json) =>
    DeviceTokenFirebaseCloudMessaging(
      token: json['token'],
      encrypt: json['encrypt'],
    );