copyWith method

RegisterMap copyWith({
  1. int? registerMapId,
  2. String? name,
  3. DataSourceType? dataSourceType,
})

Implementation

RegisterMap copyWith(
    {int? registerMapId,
    String? name,
    enums.DataSourceType? dataSourceType}) {
  return RegisterMap(
      registerMapId: registerMapId ?? this.registerMapId,
      name: name ?? this.name,
      dataSourceType: dataSourceType ?? this.dataSourceType);
}