EmergencyContact.fromJson constructor

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

Implementation

factory EmergencyContact.fromJson(Map<String, dynamic> json) {
  return EmergencyContact(
    emailAddress: json['EmailAddress'] as String,
    contactNotes: json['ContactNotes'] as String?,
    phoneNumber: json['PhoneNumber'] as String?,
  );
}