UpdateServiceNotification.fromJson constructor

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

Parse from a json

Implementation

factory UpdateServiceNotification.fromJson(Map<String, dynamic> json) => UpdateServiceNotification(
  type: json['type'],
  content: MessageContent.fromJson(json['content']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);