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,
    'typeDefinition': typeDefinition,
    'dependencies': dependencies,
    'storyName': storyName,
    'widgetName': widgetName,
  };
}