DeviceTokenWebPush.fromJson constructor

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

Parse from a json

Implementation

factory DeviceTokenWebPush.fromJson(Map<String, dynamic> json) => DeviceTokenWebPush(
  endpoint: json['endpoint'],
  p256dhBase64url: json['p256dh_base64url'],
  authBase64url: json['auth_base64url'],
);