copyWith method

  1. @useResult
FTime copyWith({
  1. int? hour,
  2. int? minute,
})

Returns a new FTime with the hour and/or minute replaced.

Implementation

@useResult
FTime copyWith({int? hour, int? minute}) => FTime(hour ?? this.hour, minute ?? this.minute);