init method

  1. @override
Future init(
  1. String apiKey,
  2. String secretKey, {
  3. ProdegePlayOptions? options,
})
override

Implementation

@override
Future init(String apiKey, String secretKey, {ProdegePlayOptions? options}) =>
    methodChannel.invokeMethod("init", {
      "apiKey": apiKey,
      "secretKey": secretKey,
      "userId": options?.userId,
      "tags": options?.tags,
      "gender": options?.profile?.gender?.name,
      "dateOfBirth": _extractDateOfBirth(options?.profile?.dateOfBirth),
    });