Dialect class

Constructors

Dialect({bool? header = true, String? delimiter = ',', List<DialectAnnotationsEnum?>? annotations = const [], String? commentPrefix = '#', DialectDateTimeFormatEnum? dateTimeFormat = const DialectDateTimeFormatEnum._('RFC3339')})
Returns a new Dialect instance.

Properties

annotations List<DialectAnnotationsEnum?>?
https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns
getter/setter pair
commentPrefix String?
Character prefixed to comment strings
getter/setter pair
dateTimeFormat DialectDateTimeFormatEnum?
Format of timestamps
getter/setter pair
delimiter String?
Separator between cells; the default is ,
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
If true, the results will contain a header row
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) Dialect?
Returns a new Dialect instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List json, {bool? emptyIsNull, bool? growable}) List<Dialect?>?
mapFromJson(Map<String, dynamic> json) Map<String, Dialect?>
mapListFromJson(Map<String, dynamic> json, {bool? emptyIsNull, bool? growable}) Map<String, List<Dialect?>?>