PayloadMessageModel.fromJson constructor

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

Implementation

factory PayloadMessageModel.fromJson(Map<String, dynamic> json) =>
    PayloadMessageModel(
      payload: json['payload'],
      platform: json['platform'],
      title: json['title'],
      description: json['description'],
      passThrough: json['passThrough'],
    );