Callback.hideCurrentMaterialBanner constructor Null safety

const Callback.hideCurrentMaterialBanner(
  1. {@Default(MaterialBannerClosedReason.hide) MaterialBannerClosedReason reason}
)

Implementation

const factory Callback.hideCurrentMaterialBanner(
        {@Default(MaterialBannerClosedReason.hide)
            MaterialBannerClosedReason reason}) =
    HideCurrentMaterialBannerCallback;