GrantFlowEntitlementsResponse.fromJson constructor

GrantFlowEntitlementsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GrantFlowEntitlementsResponse.fromJson(Map<String, dynamic> json) {
  return GrantFlowEntitlementsResponse(
    entitlements: (json['entitlements'] as List?)
        ?.whereNotNull()
        .map((e) => Entitlement.fromJson(e as Map<String, dynamic>))
        .toList(),
    flowArn: json['flowArn'] as String?,
  );
}