toMap method

Map<String, Object?> toMap()

Serializes the section back to plain data.

Implementation

Map<String, Object?> toMap() => {
  'directory': directory,
  'registry': registry,
  if (seedNames.isNotEmpty) 'seed_names': seedNames,
};