toJson method
Implementation
Map<String, dynamic> toJson() {
final readOnly = this.readOnly;
final sourceContainer = this.sourceContainer;
return {
if (readOnly != null) 'readOnly': readOnly,
if (sourceContainer != null) 'sourceContainer': sourceContainer,
};
}