ListRoutesOutput.fromJson constructor
Implementation
factory ListRoutesOutput.fromJson(Map<String, dynamic> json) {
return ListRoutesOutput(
routes: (json['routes'] as List)
.whereNotNull()
.map((e) => RouteRef.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}