ListReceivedGrantsResponse.fromJson constructor
Implementation
factory ListReceivedGrantsResponse.fromJson(Map<String, dynamic> json) {
return ListReceivedGrantsResponse(
grants: (json['Grants'] as List?)
?.whereNotNull()
.map((e) => Grant.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
);
}