toMap method

Map<String, dynamic> toMap()
override

Convert all the TouchBarItem data to a Map that will be used in the platform channel communication.

Implementation

Map<String, dynamic> toMap() {
  return {
    'id': _size.rawValue,
  };
}