toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'type': 'rectangular',
    'brushesForState': _brushesForState.map((e) => e.toMap()).toList(),
  };
}