ApiGroupDeclaration constructor
ApiGroupDeclaration({})
Implementation
ApiGroupDeclaration({
required this.name,
required this.baseUrl,
Map<String, String>? headers,
List<Endpoint>? endpoints,
}) : headers = UnmodifiableMapView(
Map<String, String>.from(headers ?? const {}),
),
endpoints = List.unmodifiable(endpoints ?? const <Endpoint>[]);