Bandwidth.fromJson constructor
Bandwidth.fromJson(
- Object? json
Implementation
factory Bandwidth.fromJson(Object? json) {
if (json is String) {
return Bandwidth(json);
}
throw FormatException('invalid bandwidth: $json');
}