getCachedContentCards method

Future<List<BrazeContentCard>> getCachedContentCards()

Get all Content Cards from current cache.

Implementation

Future<List<BrazeContentCard>> getCachedContentCards() {
  return _channel
      .invokeMethod('getCachedContentCards')
      .then<List<BrazeContentCard>>((dynamic result) => (result as List)
          .map((ccJson) => BrazeContentCard(ccJson))
          .toList());
}