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