toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'type': 'appIcon',
    'width': width,
    'height': height,
    'x': x,
    'y': y,
    'clickType': clickType.value,
    'clickIdType': clickIdType.value
  };
}