toMap method

  1. @override
Map toMap()
override

Implementation

@override
Map toMap() {
  return {
    'Scoreboard': {'name': name, 'type': type}
  };
}