toJson method
Converts this class object into a JSON value.
Implementation
@override
Map<String, dynamic> toJson() {
final result = {
...super.toJson(),
...dataSchema.toJson(),
};
if (observable != _defaultObservableValue) {
result["observable"] = observable;
}
return result;
}