copyWith method

GeoLocationRow copyWith({
  1. String? ip,
  2. String? data,
  3. Value<String?> language = const Value.absent(),
  4. PreciseDateTime? updatedAt,
})

Implementation

GeoLocationRow copyWith({
  String? ip,
  String? data,
  Value<String?> language = const Value.absent(),
  PreciseDateTime? updatedAt,
}) => GeoLocationRow(
  ip: ip ?? this.ip,
  data: data ?? this.data,
  language: language.present ? language.value : this.language,
  updatedAt: updatedAt ?? this.updatedAt,
);