toJson method

Map<String, dynamic> toJson()

Implementation

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