MBManager constructor

MBManager({
  1. required String? apiToken,
  2. String? locale,
  3. 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 to stable.

Implementation

MBManager({
  required this.apiToken,
  this.locale,
  this.channel = MBurgerChannel.stable,
});