toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (pluginId != null) {
_json[r'plugin_id'] = pluginId;
}
if (name != null) {
_json[r'name'] = name;
}
if (description != null) {
_json[r'description'] = description;
}
if (version != null) {
_json[r'version'] = version;
}
if (clusterId != null) {
_json[r'cluster_id'] = clusterId;
}
if (pluginPath != null) {
_json[r'plugin_path'] = pluginPath;
}
if (state != null) {
_json[r'state'] = state;
}
return _json;
}