getMarketplaceName function

String getMarketplaceName()

Get the marketplace name based on user type.

Implementation

String getMarketplaceName() {
  final userType = Platform.environment['USER_TYPE'];
  return userType == 'ant'
      ? _internalMarketplaceName
      : _officialMarketplaceName;
}