copyWith method

Context copyWith({
  1. AlexaSystem? system,
  2. PlaybackState? audioPlayer,
  3. Geolocation? geolocation,
})

Implementation

Context copyWith(
    {AlexaSystem? system,
    PlaybackState? audioPlayer,
    Geolocation? geolocation}) {
  return Context(
      system: system ?? this.system,
      audioPlayer: audioPlayer ?? this.audioPlayer,
      geolocation: geolocation ?? this.geolocation);
}