PhoneNumber.fromJson constructor

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

Implementation

factory PhoneNumber.fromJson(Map<String, dynamic> json) {
  return PhoneNumber(
    number: json['Number'] as String,
    type: (json['Type'] as String).toPhoneNumberType(),
  );
}