EmergencyResult.fromJson constructor

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

Implementation

EmergencyResult.fromJson(Map<String, dynamic> json) {
  if (json["name"] is String) name = json["name"];
  if (json["phone"] is String) phone = json["phone"];
}