ModelSource constructor

ModelSource({
  1. required String id,
  2. bool batched = false,
  3. String? url,
  4. double? maxzoom,
  5. double? minzoom,
  6. List<String?>? tiles,
  7. List<ModelSourceModel>? models,
})

Implementation

ModelSource({
  required super.id,
  this.batched = false,
  String? url,
  double? maxzoom,
  double? minzoom,
  List<String?>? tiles,
  List<ModelSourceModel>? models,
}) {
  _url = url;
  _maxzoom = maxzoom;
  _minzoom = minzoom;
  _tiles = tiles;
  _models = models;
}