assertUrl method
Implementation
String assertUrl() {
if (url != null) return url!;
if (uri != null) return uri!.toString();
throw StateError('no url');
}
String assertUrl() {
if (url != null) return url!;
if (uri != null) return uri!.toString();
throw StateError('no url');
}