copyWith method Null safety
- {String? created,
- num? runTime,
- double? averageSpeed,
- num? distance,
- String? runId,
- Location? location,
- num? locationsCount,
- num? cheat,
- Map<
String, dynamic> ? meta, - String? id,
- String? eventId}
inherited
Implementation
SplitTime copyWith(
{String? created,
num? runTime,
double? averageSpeed,
num? distance,
String? runId,
Location? location,
num? locationsCount,
num? cheat,
Map<String, dynamic>? meta,
String? id,
String? eventId}) {
return SplitTime(
created: created ?? this.created,
runTime: runTime ?? this.runTime,
averageSpeed: averageSpeed ?? this.averageSpeed,
distance: distance ?? this.distance,
runId: runId ?? this.runId,
location: location ?? this.location,
locationsCount: locationsCount ?? this.locationsCount,
cheat: cheat ?? this.cheat,
meta: meta ?? this.meta,
id: id ?? this.id,
eventId: eventId ?? this.eventId,
);
}