toJson method

Map<String, dynamic> toJson()
inherited

toJson method

Implementation

Map<String, dynamic> toJson() {
  final body = getAttributes;
  return {
    'type': type,
    'name': name,
    'description': description,
    'parent_id': parentID,
    'properties': body,
    'rect_properties': rectPropertiesToJson(),
    'updated_at': updatedAt.toIso8601String(),
    'child_order': childOrder,
    'component_id': componentID,
    'is_locked': isLocked,
  };
}