Aps.fromJson constructor

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

Implementation

factory Aps.fromJson(Map<String, dynamic> json) => Aps(
      alert: json["alert"] == null ? null : Alert.fromJson(json["alert"]),
      badge: json["badge"],
      sound: json["sound"],
    );