Role.fromJson constructor
Implementation
Role.fromJson(Map<String, dynamic> json) {
roleId = json['role_id'];
name = json['name'];
GetRoleAttributeResponse getRoleAttributeResponse =
GetRoleAttributeResponse.fromJson({"attribute": json['attribute']});
attribute = getRoleAttributeResponse.attribute;
createdDateTime = json['created_date_time'];
createdById = json['created_by_id'];
// roles = json['qr_id'];
}