Callback.removeCurrentMaterialBanner constructor Null safety

const Callback.removeCurrentMaterialBanner(
  1. {@Default(MaterialBannerClosedReason.remove) MaterialBannerClosedReason reason}
)

Implementation

const factory Callback.removeCurrentMaterialBanner(
        {@Default(MaterialBannerClosedReason.remove)
            MaterialBannerClosedReason reason}) =
    RemoveCurrentMaterialBannerCallback;