ListSetView<T>.fromJson constructor
ListSetView<T>.fromJson (
- dynamic json,
- T fromJsonT()
Converts from JSon. Json serialization support for json_serializable with @JsonSerializable.
Implementation
factory ListSetView.fromJson(dynamic json, T Function(Object?) fromJsonT) {
return ListSetView<T>((json as Iterable).map(fromJsonT).toSet());
}