copyWith method

  1. @override
ChatEventLocationChanged copyWith({
  1. ChatLocation? oldLocation,
  2. ChatLocation? newLocation,
})
override

Implementation

@override
ChatEventLocationChanged copyWith({
  ChatLocation? oldLocation,
  ChatLocation? newLocation,
}) =>
    ChatEventLocationChanged(
      oldLocation: oldLocation ?? this.oldLocation,
      newLocation: newLocation ?? this.newLocation,
    );