toMap method
override
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = {};
if (_name != null) {
map['name'] = _name;
}
if (_type != null) {
map['type'] = _type;
}
if (_components != null) {
map['components'] = _components;
}
return map;
}