copyWith method

Location copyWith({
  1. String? codigo,
  2. String? location,
})

Implementation

Location copyWith({
  String? codigo,
  String? location,
}) =>
    Location(
      codigo: codigo ?? this.codigo,
      location: location ?? this.location,
    );