ReportFormatDefaults class

Locale-ish defaults applied when a format omits details.

Constructors

ReportFormatDefaults({String datePattern = 'yyyy/MM/dd', String timePattern = 'HH:mm', String dateTimePattern = 'yyyy/MM/dd HH:mm', String decimalSeparator = '.', String groupSeparator = ',', bool arabicDigits = false})
ReportFormatDefaults API.
const

Properties

arabicDigits → bool
Emit Arabic-Indic digits (٠١٢٣٤٥٦٧٨٩).
final
datePattern → String
Pattern for System.CurrentDate and bare dates.
final
dateTimePattern → String
Pattern for date-times.
final
decimalSeparator → String
Decimal separator.
final
groupSeparator → String
Thousands separator.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timePattern → String
Pattern for System.CurrentTime.
final

Methods

copyWith({String? datePattern, String? timePattern, String? dateTimePattern, String? decimalSeparator, String? groupSeparator, bool? arabicDigits}) → ReportFormatDefaults
copyWith API.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited