toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (destination != null) "destination": encodeValue(destination),
      if (enableFx != null) "enable_fx": encodeValue(enableFx),
    };