toMap method
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,
};
}