copyWith method
ExcerciseInfoResponseModel
copyWith({ - String? isexercisescheduled,
- String? isexerciseactive,
- String? exercisestarttime,
- String? lastexercise,
- double? lastran,
- String? lastrandatetime,
- String? exerciseinterval,
- String? exerciserundurationminutes,
- String? exercisemode,
- double? nextexercise,
- String? nextexercisedatetime,
})
Implementation
ExcerciseInfoResponseModel copyWith(
{String? isexercisescheduled,
String? isexerciseactive,
String? exercisestarttime,
String? lastexercise,
double? lastran,
String? lastrandatetime,
String? exerciseinterval,
String? exerciserundurationminutes,
String? exercisemode,
double? nextexercise,
String? nextexercisedatetime}) {
return ExcerciseInfoResponseModel(
isexercisescheduled: isexercisescheduled ?? this.isexercisescheduled,
isexerciseactive: isexerciseactive ?? this.isexerciseactive,
exercisestarttime: exercisestarttime ?? this.exercisestarttime,
lastexercise: lastexercise ?? this.lastexercise,
lastran: lastran ?? this.lastran,
lastrandatetime: lastrandatetime ?? this.lastrandatetime,
exerciseinterval: exerciseinterval ?? this.exerciseinterval,
exerciserundurationminutes:
exerciserundurationminutes ?? this.exerciserundurationminutes,
exercisemode: exercisemode ?? this.exercisemode,
nextexercise: nextexercise ?? this.nextexercise,
nextexercisedatetime:
nextexercisedatetime ?? this.nextexercisedatetime);
}