setup static method
Implementation
return super.readValueOfType(type,buffer);}}}abstract class MesiboProfileListenerFlutter{static const MessageCodec<Object?> codec= _MesiboProfileListenerFlutterCodec();void Mesibo_onProfileUpdated(MesiboProfile profile);static void setup(MesiboProfileListenerFlutter? api,{BinaryMessenger? binaryMessenger}
){{final BasicMessageChannel<Object?> channel= BasicMessageChannel<Object?>('com.mesibo.mesibo_flutter.MesiboProfileListenerFlutter.Mesibo_onProfileUpdated',codec,binaryMessenger:
binaryMessenger);if(api== null){channel.setMessageHandler(null);} else{channel.setMessageHandler((Object? message) async{assert(message!= null,'Argument for com.mesibo.mesibo_flutter.MesiboProfileListenerFlutter.Mesibo_onProfileUpdated was null.');final List<Object?> args=(message as List<Object?>?)!;final MesiboProfile? arg_profile=(args[0] as MesiboProfile?);assert(arg_profile!= null,'Argument for com.mesibo.mesibo_flutter.MesiboProfileListenerFlutter.Mesibo_onProfileUpdated was null, expected non-null MesiboProfileFlutter.');try{api.Mesibo_onProfileUpdated(arg_profile!);return wrapResponse(empty:
true);} on PlatformException catch(e){return wrapResponse(error: e);} catch(e){return wrapResponse(error: PlatformException(code:
'error',message: e.toString()));}});}}}