OperationCreateClaimableBalance constructor

OperationCreateClaimableBalance({
  1. Asset? asset,
  2. Int64? amount,
  3. Iterable<Claimant>? claimants,
})

Implementation

factory OperationCreateClaimableBalance({
  Asset? asset,
  $fixnum.Int64? amount,
  $core.Iterable<Claimant>? claimants,
}) {
  final _result = create();
  if (asset != null) {
    _result.asset = asset;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (claimants != null) {
    _result.claimants.addAll(claimants);
  }
  return _result;
}