toMap method
override
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = {};
if (_code != null) {
map['code'] = _code;
}
if (_data != null) {
map['data'] = _data;
}
if (_library != null) {
map['library'] = _library;
}
map['type'] = _type;
return map;
}