MBManager constructor
MBManager({
- required String? apiToken,
- String? locale,
- MBurgerChannel channel = MBurgerChannel.stable,
Initializes a MBManager with an apiToken
.
- Parameters:
locale
: An optional locale used to call the make the requests.channel
: The MBurger channel to connect to, defaults tostable
.
Implementation
MBManager({
required this.apiToken,
this.locale,
this.channel = MBurgerChannel.stable,
});