Phone.fromMap constructor

Phone.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Phone.fromMap(Map<String, dynamic> map) {
  return Phone(
    code: map['code'].toString(),
    countryCode: map['countryCode'].toString(),
    countryName: map['countryName'].toString(),
  );
}