setup static method
Implementation
PlatformException(code:'error',message: e.toString()));}});}}}}abstract class MesiboConnectionListenerFlutter{static const MessageCodec<Object?> codec= StandardMessageCodec();void Mesibo_onConnectionStatus(int status);static void setup(MesiboConnectionListenerFlutter? api,{BinaryMessenger? binaryMessenger}
){{final BasicMessageChannel<Object?> channel= BasicMessageChannel<Object?>('com.mesibo.mesibo_flutter.MesiboConnectionListenerFlutter.Mesibo_onConnectionStatus',codec,binaryMessenger:
binaryMessenger);if(api== null){channel.setMessageHandler(null);} else{channel.setMessageHandler((Object? message) async{assert(message!= null,'Argument for com.mesibo.mesibo_flutter.MesiboConnectionListenerFlutter.Mesibo_onConnectionStatus was null.');final List<Object?> args=(message as List<Object?>?)!;final int? arg_status=(args[0] as int?);assert(arg_status!= null,'Argument for com.mesibo.mesibo_flutter.MesiboConnectionListenerFlutter.Mesibo_onConnectionStatus was null, expected non-null int.');try{api.Mesibo_onConnectionStatus(arg_status!);return wrapResponse(empty:
true);} on PlatformException catch(e){return wrapResponse(error: e);} catch(e){return wrapResponse(error:
PlatformException(code:'error',message: e.toString()));}});}}}