Client.fromJson constructor

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

Implementation

Client.fromJson(Map<String, dynamic> json) {
  clientId = json['client_id'];
  name = json['name'];
  GetClientAttributeResponse getClientAttributeResponse =
      GetClientAttributeResponse.fromJson({"attribute": json['attribute']});
  attribute = getClientAttributeResponse.attribute;
  createdDateTime = json['created_date_time'];
  createdById = json['created_by_id'];
  // roles = json['qr_id'];
}