create static method
return original data json
Implementation
static DockerPlugin create({
String special_type = "DockerPlugin",
String? name,
String? script,
}) {
// DockerPlugin dockerPlugin = DockerPlugin({
Map dockerPlugin_data_create_json = {
"@type": special_type,
"name": name,
"script": script,
};
dockerPlugin_data_create_json.removeWhere((key, value) => value == null);
DockerPlugin dockerPlugin_data_create =
DockerPlugin(dockerPlugin_data_create_json);
return dockerPlugin_data_create;
}