LegacyAminoPubKey constructor

LegacyAminoPubKey({
  1. int? threshold,
  2. Iterable<Any>? publicKeys,
})

Implementation

factory LegacyAminoPubKey({
  $core.int? threshold,
  $core.Iterable<$0.Any>? publicKeys,
}) {
  final _result = create();
  if (threshold != null) {
    _result.threshold = threshold;
  }
  if (publicKeys != null) {
    _result.publicKeys.addAll(publicKeys);
  }
  return _result;
}