Phone.fromJson constructor

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

Implementation

factory Phone.fromJson(Map<String, dynamic> json) {
  return Phone(
    phoneNumber: json['phoneNumber'],
    isOptIn: json['isOptIn'],
  );
}