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