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