setAnalyzeConfiguration method

  1. @override
Future<bool> setAnalyzeConfiguration(
  1. AnalyzeConfiguration analyzeConfiguration
)
override

Implementation

@override
Future<bool> setAnalyzeConfiguration(
    AnalyzeConfiguration analyzeConfiguration) {
  var analyzeConfig = <String, dynamic>{
    'readBIC': analyzeConfiguration.readBIC,
    'readPaymentState': analyzeConfiguration.readPaymentState,
  };
  return methodChannel
      .invokeMethod<bool>("setAnalyzeConfiguration", analyzeConfig)
      .then<bool>((bool? value) => value ?? false);
}