format property

StringFormat? get format

The format of this String, corresponds to the format key.

Implementation

StringFormat? get format {
  final format = _value[Keys.format] as String?;
  if (format == null) return null;
  return StringFormat.values.firstWhere((value) => value.name == format);
}