toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'outputFormat'] = this.outputFormat;
  if (this.excludePreviouslyExported != null) {
    json[r'excludePreviouslyExported'] = this.excludePreviouslyExported;
  } else {
    json[r'excludePreviouslyExported'] = null;
  }
  if (this.createdEarliestTime != null) {
    json[r'createdEarliestTime'] = this.createdEarliestTime!.toUtc().toIso8601String();
  } else {
    json[r'createdEarliestTime'] = null;
  }
  if (this.createdOldestTime != null) {
    json[r'createdOldestTime'] = this.createdOldestTime!.toUtc().toIso8601String();
  } else {
    json[r'createdOldestTime'] = null;
  }
  if (this.filter != null) {
    json[r'filter'] = this.filter;
  } else {
    json[r'filter'] = null;
  }
  if (this.listSeparatorToken != null) {
    json[r'listSeparatorToken'] = this.listSeparatorToken;
  } else {
    json[r'listSeparatorToken'] = null;
  }
  return json;
}