ClientInfo.fromJson constructor

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

Create ClientInfo from JSON

Implementation

factory ClientInfo.fromJson(Map<String, dynamic> json) {
  return ClientInfo(
    fullName: json['full_name'] as String,
    email: json['email'] as String,
    phoneNumber: json['phone_number'] as String,
  );
}