baseHeaders method

Future<Map<String, String>> baseHeaders(
  1. dynamic appName
)

Implementation

static Future<Map<String, String>> baseHeaders(appName) async {
  final headers = Map<String, String>();
  headers['X-GIGANTIER-SDK-LANGUAGE'] = 'Flutter';
  headers['X-GIGANTIER-SDK-VERSION'] =
      '1.0.11'; // TODO: obtain version from pubspec.yaml
  headers['X-GIGANTIER-APPLICATION'] = appName;
  return Future.value(headers);
}