toJson method
Saves this into a Map that can be encoded using json.encode
Implementation
Map<String, dynamic> toJson() => {
'property': property,
'value': data.schemaValue,
'options': options.toJson(),
'required': required,
'fieldId': fieldId,
};