toRoutingJson method

Map<String, String> toRoutingJson()

Convert into JSON map used by Router

Implementation

Map<String, String> toRoutingJson() => {
      'router-boundary-width': width.toString(),
      'router-boundary-height': height.toString(),
      'router-boundary-x': x.toString(),
      'router-boundary-y': y.toString(),
    };