toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
json[r'data'] = this.data;
if (this.rowCount != null) {
json[r'rowCount'] = this.rowCount;
} else {
json[r'rowCount'] = null;
}
if (this.columnCount != null) {
json[r'columnCount'] = this.columnCount;
} else {
json[r'columnCount'] = null;
}
if (this.isPublic != null) {
json[r'isPublic'] = this.isPublic;
} else {
json[r'isPublic'] = null;
}
if (this.isReadOnly != null) {
json[r'isReadOnly'] = this.isReadOnly;
} else {
json[r'isReadOnly'] = null;
}
return json;
}