delimiter property

String? get delimiter

Associated delimiter character if delimited format.

Implementation

String? get delimiter => switch (this) {
      TCsvFileFormat.csv => ',',
      TCsvFileFormat.tsv => '\t',
      TCsvFileFormat.semicolon => ';',
      TCsvFileFormat.pipe => '|',
      TCsvFileFormat.json => null,
      TCsvFileFormat.custom => null,
    };