toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (dataTypeFlags != null) {
json[r'DataTypeFlags'] = dataTypeFlags;
}
if (dataType != null) {
json[r'DataType'] = dataType;
}
if (text != null) {
json[r'Text'] = text;
}
if (logical != null) {
json[r'Logical'] = logical;
}
if (date != null) {
json[r'Date'] = date.toUtc().toIso8601String();
}
if (integer != null) {
json[r'Integer'] = integer;
}
if (real != null) {
json[r'Real'] = real;
}
return json;
}