toMap method

Map<String, String> toMap()

Convert to simplified Map format for backwards compatibility

Implementation

Map<String, String> toMap() {
  final map = <String, String>{};
  if (vScale != null) map['vScale'] = vScale!;
  if (yds != null) map['yds'] = yds!;
  if (french != null) map['french'] = french!;
  if (font != null) map['font'] = font!;
  if (uiaa != null) map['uiaa'] = uiaa!;
  return map;
}