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