PushReceiverId.fromJson constructor

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

Parse from a json

Implementation

factory PushReceiverId.fromJson(Map<String, dynamic> json) => PushReceiverId(
      id: int.parse(json['id']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );