copyWith method Null safety
- {Map<
String, dynamic> ? coords, - Map<
String, dynamic> ? activity, - Map<
String, dynamic> ? battery, - String? runId,
- Map<
String, dynamic> ? meta, - bool? triggeredSplitTime,
- String? recordedTimestamp,
- String? locationServiceTimestamp,
- String? uuid,
- RunLocationOdometer? odometers}
inherited
Implementation
RunLocation copyWith(
{Map<String, dynamic>? coords,
Map<String, dynamic>? activity,
Map<String, dynamic>? battery,
String? runId,
Map<String, dynamic>? meta,
bool? triggeredSplitTime,
String? recordedTimestamp,
String? locationServiceTimestamp,
String? uuid,
RunLocationOdometer? odometers}) {
return RunLocation(
coords: coords ?? this.coords,
activity: activity ?? this.activity,
battery: battery ?? this.battery,
runId: runId ?? this.runId,
meta: meta ?? this.meta,
triggeredSplitTime: triggeredSplitTime ?? this.triggeredSplitTime,
recordedTimestamp: recordedTimestamp ?? this.recordedTimestamp,
locationServiceTimestamp:
locationServiceTimestamp ?? this.locationServiceTimestamp,
uuid: uuid ?? this.uuid,
odometers: odometers ?? this.odometers,
);
}