toTemplateMap method
Stable map for AI/generator use.
Implementation
Map<String, Object?> toTemplateMap() {
return {
'type': type.name,
'pattern': pattern,
'decimalDigits': decimalDigits,
'groupingSeparator': groupingSeparator,
'decimalSeparator': decimalSeparator,
'allowNegative': allowNegative,
};
}