toDetails method
Implementation
Map<String, Object?> toDetails() {
return {
'path': getFullPath(),
'extraPath': extraPath,
'methods': methods,
'auth': auth != null,
'children': children.length,
'params': params,
'title': title,
'excludePaths': excludePaths,
'apiDoc': apiDoc != null,
'permissions': permissions,
'hosts': hosts,
'ports': ports,
'key': key,
'middlewares': middlewares.map((m) => m.runtimeType.toString()).toList(),
};
}