toMap method

  1. @override
Map<String, dynamic> toMap()
override

Maps this object into a serializable format

Implementation

@override
Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'name': name,
    'importStatement': importStatement,
    'dependencies': dependencies,
    'isDarkTheme': isDarkTheme,
  };
}