toStandardMap method

  1. @override
Map<String, dynamic> toStandardMap(
  1. StoryScaleDefinition obj
)
override

Implementors should return a map with keys as Strings. If the value is a list, it should be a list, not an iterable. If you have an iterable, make sure to use .toList() on it.

This map is used by the channel's codec StandardMethodCodec.

Implementation

@override
Map<String, dynamic> toStandardMap(StoryScaleDefinition obj) =>
    {'scale': obj.scale, 'name': obj.name};