PhoneNumber.fromJson constructor

PhoneNumber.fromJson(Map<String, dynamic> jsonMap)

Implementation

factory PhoneNumber.fromJson(Map<String, dynamic> jsonMap) {
  return PhoneNumber(
    country: jsonMap['country'],
    number: jsonMap['number'],
  );
}