copyWith method

UnconfirmedSession copyWith({
  1. SessionType? type,
  2. int? date,
  3. String? deviceModel,
  4. String? location,
})

Implementation

UnconfirmedSession copyWith({
  SessionType? type,
  int? date,
  String? deviceModel,
  String? location,
}) =>
    UnconfirmedSession(
      type: type ?? this.type,
      date: date ?? this.date,
      deviceModel: deviceModel ?? this.deviceModel,
      location: location ?? this.location,
    );