GetRoleAttributeResponse.fromJson constructor

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

Implementation

GetRoleAttributeResponse.fromJson(Map<String, dynamic> json) {
  if (json['attribute'] != null) {
    attribute = [];
    json['attribute'].forEach((v) {
      attribute!.add(RoleAttribute.fromJson(v));
    });
  }
}