RegisterCustomerResult.fromJson constructor
Implementation
factory RegisterCustomerResult.fromJson(Map<String, dynamic> json) {
return RegisterCustomerResult(
success: json['success'] as bool,
customer: json['customer'] != null
? CustomerInfo.fromJson(json['customer'] as Map<String, dynamic>)
: null,
message: json['message'] as String?,
);
}