toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"key": key,
"type": type,
"status": status,
"error": error,
"required": xrequired,
"array": array,
"elements": elements,
"format": format,
"default": xdefault,
};
}