toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.workspaceId != null) {
    json[r'workspaceId'] = this.workspaceId;
  } else {
    json[r'workspaceId'] = null;
  }
    json[r'name'] = this.name;
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
    json[r'schedule'] = this.schedule;
    json[r'metadata'] = this.metadata;
  return json;
}