UrlModel constructor

UrlModel({
  1. required String raw,
  2. List<String> host = const [],
  3. List<String> path = const [],
})

Implementation

UrlModel({
  required this.raw,
  this.host = const [],
  this.path = const [],
}) {
  host = ["{{base_url}}"];
  setupPathValue();
}