toWire method

  1. @override
Map<String, Object?> toWire()
override

Implementation

@override
Map<String, Object?> toWire() => {
  'k': 'stroke',
  'w': width,
  if (join != SceneStrokeJoin.round) 'j': join.index,
  ..._common,
};