LazyGradedVestingAccount constructor

LazyGradedVestingAccount({
  1. BaseVestingAccount? baseVestingAccount,
  2. Iterable<VestingSchedule>? vestingSchedules,
})

Implementation

factory LazyGradedVestingAccount({
  BaseVestingAccount? baseVestingAccount,
  $core.Iterable<VestingSchedule>? vestingSchedules,
}) {
  final _result = create();
  if (baseVestingAccount != null) {
    _result.baseVestingAccount = baseVestingAccount;
  }
  if (vestingSchedules != null) {
    _result.vestingSchedules.addAll(vestingSchedules);
  }
  return _result;
}