toMap method

  1. @override
Map toMap()
override

Implementation

@override
Map toMap() {
  return {'commands': _commands.map((x) => x.toMap())};
}