activateStone method

  1. @override
Future<String?> activateStone({
  1. required String appName,
  2. required String stoneCode,
  3. String? qrCodeProviderId,
  4. String? qrCodeAuthorization,
})
override

Activate Stone

Implementation

@override
Future<String?> activateStone({
  required String appName,
  required String stoneCode,
  String? qrCodeProviderId,
  String? qrCodeAuthorization,
}) async {
  final result = await methodChannel.invokeMethod<String>(
    'activateStone',
    <String, dynamic>{
      'appName': appName,
      'stoneCode': stoneCode,
      'qrCodeProviderId': qrCodeProviderId,
      'qrCodeAuthorization': qrCodeAuthorization,
    },
  );

  return result;
}