CreateUpdateRoleRequestBean.fromJson constructor

CreateUpdateRoleRequestBean.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CreateUpdateRoleRequestBean.fromJson(Map<String, Object?> json) {
  return CreateUpdateRoleRequestBean(
    description: json[r'description'] as String?,
    name: json[r'name'] as String?,
  );
}