core.Map<core.String, core.dynamic> toJson() => { if (nodeId != null) 'nodeId': nodeId!, if (nodeMetadatas != null) 'nodeMetadatas': nodeMetadatas!, };