diff --git a/lib/flame.dart b/lib/flame.dart index b1c64e261..6b67541f5 100644 --- a/lib/flame.dart +++ b/lib/flame.dart @@ -26,10 +26,7 @@ class Flame { /// Access a shared instance of the [Bgm] class. static Bgm _bgm; - static Bgm get bgm { - _bgm ??= Bgm(); - return _bgm; - } + static Bgm get bgm => _bgm ??= Bgm(); /// Access a shared instance of the [Images] class. static Images images = Images();