copyWith method

MessageLiveLocation copyWith({
  1. LiveLocation? location,
  2. int? expiresIn,
})

Implementation

MessageLiveLocation copyWith({LiveLocation? location, int? expiresIn}) =>
    MessageLiveLocation(
      location: location ?? this.location,
      expiresIn: expiresIn ?? this.expiresIn,
    );