toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'id': super.id,
'type': {
'def': {
'Compact': {
'type': type,
}
},
'path': super.path ?? <String>[],
'docs': super.docs ?? <String>[],
}
};
}