forCustomer method

  1. @override
Future<List<DVPurchaseGrant>> forCustomer(
  1. String customerKey
)
override

Implementation

@override
Future<List<DVPurchaseGrant>> forCustomer(String customerKey) async =>
    <DVPurchaseGrant>[
      for (final DVPurchaseGrant grant in _grants.values)
        if (grant.customerKey == customerKey) grant,
    ];