create static method
return original data json
Implementation
static Plan create({
String special_type = "plan",
String? name,
num? space,
num? private_repos,
num? collaborators,
}) {
// Plan plan = Plan({
Map plan_data_create_json = {
"@type": special_type,
"name": name,
"space": space,
"private_repos": private_repos,
"collaborators": collaborators,
};
plan_data_create_json.removeWhere((key, value) => value == null);
Plan plan_data_create = Plan(plan_data_create_json);
return plan_data_create;
}