composeUrl function

Future<String> composeUrl(
  1. String customerId,
  2. String campaignHash,
  3. String accessToken
)

Implementation

Future<String> composeUrl(
  String customerId,
  String campaignHash,
  String accessToken,
) async {
  final baseUrl =
      'http://$customerId.bemall.app/promotion/mobile/$campaignHash';

  return '$baseUrl/home';
}