toJson method
Method to map the data of a CameraEffectTextures object into a Map and use for channel method call.
This method is used internally for the plugin only.
Implementation
Map<String, dynamic> toJson() {
return {
'textureKey': textureKey,
'textureUrl': textureUrl,
};
}