copyWith method
Implementation
FloorsInfo copyWith({
int? groundCount,
Optional<int?>? groundMinCount,
Optional<int?>? undergroundCount
}) {
return FloorsInfo(
groundCount: groundCount ?? this.groundCount,
groundMinCount: groundMinCount != null ? groundMinCount.value : this.groundMinCount,
undergroundCount: undergroundCount != null ? undergroundCount.value : this.undergroundCount
);
}