MutUri constructor

MutUri({
  1. String? origin,
  2. List<String>? paths,
  3. Map<String, String>? pathParams,
  4. Map<String, dynamic>? query,
})

Implementation

MutUri(
    {String? origin,
    List<String>? paths,
    Map<String, String>? pathParams,
    Map<String, dynamic>? query})
    : _paths = paths?.toList() ?? <String>[],
      _pathParams =
          pathParams != null ? Map<String, String>.from(pathParams) : {},
      _origin = origin,
      getQuery = query != null ? Map<String, dynamic>.from(query) : {};