getCpmToken method

Future<CpmToken> getCpmToken({
  1. required String cpmToken,
})

Implementation

Future<CpmToken> getCpmToken({
  required String cpmToken,
}) async {
  return await invokeMethod<CpmToken>(
    (j) => CpmToken.fromJson(j),
    'autogen_getCpmToken',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'cpm_token': cpmToken,
    },
  );
}