toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"key": key,
"type": type,
"status": status,
"error": error,
"required": xrequired,
"array": array,
"relatedCollection": relatedCollection,
"relationType": relationType,
"twoWay": twoWay,
"twoWayKey": twoWayKey,
"onDelete": onDelete,
"side": side,
};
}