Flutter Linux Embedder
fl_json_method_codec.h File Reference
#include <gmodule.h>
#include "fl_method_codec.h"

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE (FlJsonMethodCodec, fl_json_method_codec, FL, JSON_METHOD_CODEC, FlMethodCodec) FlJsonMethodCodec *fl_json_method_codec_new()
 

Function Documentation

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_FINAL_TYPE ( FlJsonMethodCodec  ,
fl_json_method_codec  ,
FL  ,
JSON_METHOD_CODEC  ,
FlMethodCodec   
)

FlJsonMethodCodec:

#FlJsonMessageCodec is an #FlMethodCodec that implements method calls using the Flutter JSON message encoding. It should be used with an #FlMethodChannel.

#FlJsonMethodCodec matches the JSONMethodCodec class in the Flutter services library. fl_json_method_codec_new:

Creates an #FlJsonMethodCodec.

Returns: a new #FlJsonMethodCodec.