signToFsw function

String signToFsw(
  1. Sign sign
)

Implementation

String signToFsw(Sign sign) {
  List<SignSymbol> symbols = [sign.box, ...sign.symbols];
  List<String> symbolsStr = symbols
      .map((s) => '${s.symbol}${s.position.item1}x${s.position.item2}')
      .toList();
  return symbolsStr.join('');
}