fromJson method

  1. @override
List<T> fromJson(
  1. Map<String, dynamic> json
)
override

Implementation

@override
List<T> fromJson(Map<String, dynamic> json) {
  final rawList = json['queue'] as List<dynamic>;
  return rawList.map((e) => _elementFromJson(e)).toList();
}