DeviceTokenSimplePush.fromJson constructor

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

Parse from a json

Implementation

factory DeviceTokenSimplePush.fromJson(Map<String, dynamic> json) =>
    DeviceTokenSimplePush(
      endpoint: json['endpoint'],
    );