init method

dynamic init({
  1. required String url,
})

Implementation

init({required String url}) {
  this.url = url;
}