eventAt method

CreditChannelActivityEvent eventAt(
  1. int cycle
)

Returns the selected event for cycle.

Implementation

CreditChannelActivityEvent eventAt(int cycle) {
  if (cycle < 0) {
    throw ArgumentError.value(cycle, 'cycle', 'Must not be negative.');
  }
  return _eventAt(cycle);
}