copyWith method

HubEnum copyWith({
  1. int? enumId,
  2. String? name,
})

Implementation

HubEnum copyWith({int? enumId, String? name}) {
  return HubEnum(enumId: enumId ?? this.enumId, name: name ?? this.name);
}