RoleResponse.fromJson constructor

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

Implementation

RoleResponse.fromJson(Map<String, dynamic> json) {
  role = RoleApiDto.fromJson(json['role']);
}