merchant property

Returns the current merchant.

Implementation

static Future<SumupPluginMerchantResponse> get merchant async {
  _throwIfNotInitialized();
  await _throwIfNotLoggedIn();
  final method = await _channel.invokeMethod('getMerchant');
  final response = SumupPluginResponse.fromMap(method);
  return SumupPluginMerchantResponse.fromMap(response.message!);
}