MiPushMessageExtra.fromJson constructor

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

Implementation

factory MiPushMessageExtra.fromJson(Map<String, dynamic> json) {
  return MiPushMessageExtra(
    highPriorityEvent: json['high_priority_event'],
    feTs: json['fe_ts'],
    planId: json['__planId__'],
    source: json['source'],
    notifyForeground: json['notify_foreground'],
    mTs: json['__m_ts'],
  );
}