DeviceNotificationToken.fromJSON constructor
Constructs an instance of DeviceNotificationToken from a JSON map.
Parameters:
json
: The JSON map containing the token data.
Implementation
DeviceNotificationToken.fromJSON(Map<String, dynamic> json)
: osVersion = json["osVersion"],
deviceModel = json["deviceModel"],
token = json["token"];