toJson method
Implementation
Map<String, dynamic> toJson() => {
'selectors': List.from(
selectors.map(
(e) => e.toJson(),
),
),
'blocks': List.from(
blocks.map(
(e) => e.toJson(),
),
),
'configuration_uuid': configurationUuid,
'default_data': defaultData,
'inputs': List.from(
inputs.map(
(e) => e.toJson(),
),
),
'name': name,
'position_x': position.dx,
'position_y': position.dy,
'type': type,
'return_type': returnType,
'panel_arguments': panelArguments,
};