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