toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (header != null) {
    json[r'header'] = header;
  }
  if (delimiter != null) {
    json[r'delimiter'] = delimiter;
  }
  if (annotations != null) {
    json[r'annotations'] = annotations;
  }
  if (commentPrefix != null) {
    json[r'commentPrefix'] = commentPrefix;
  }
  if (dateTimeFormat != null) {
    json[r'dateTimeFormat'] = dateTimeFormat;
  }
  return json;
}