PeriodicVestingAccount constructor

PeriodicVestingAccount({
  1. BaseVestingAccount? baseVestingAccount,
  2. Int64? startTime,
  3. Iterable<Period>? vestingPeriods,
})

Implementation

factory PeriodicVestingAccount({
  BaseVestingAccount? baseVestingAccount,
  $fixnum.Int64? startTime,
  $core.Iterable<Period>? vestingPeriods,
}) {
  final _result = create();
  if (baseVestingAccount != null) {
    _result.baseVestingAccount = baseVestingAccount;
  }
  if (startTime != null) {
    _result.startTime = startTime;
  }
  if (vestingPeriods != null) {
    _result.vestingPeriods.addAll(vestingPeriods);
  }
  return _result;
}