copyWith method

Role copyWith({
  1. RoleDetail? roledetail,
})

Implementation

Role copyWith({RoleDetail? roledetail}) {
  return Role(roledetail: roledetail ?? this.roledetail);
}