optimize method
void
optimize()
override
Implementation
@override
void optimize(String flowName, int? maxDelay,
Map<String, dynamic>? customSignals, ValueSetter<int> onGoodMoment) {
final callbackId = _getCallbackId(onGoodMoment);
methodChannel.invokeMethod<void>('optimize', <String, dynamic>{
'flowName': flowName,
'maxDelay': maxDelay,
'customSignals': customSignals,
'callbackId': callbackId,
});
}