PublicKey constructor

PublicKey({
  1. int? keyType,
  2. List<int>? data,
})

Implementation

factory PublicKey({
  $core.int? keyType,
  $core.List<$core.int>? data,
}) {
  final _result = create();
  if (keyType != null) {
    _result.keyType = keyType;
  }
  if (data != null) {
    _result.data = data;
  }
  return _result;
}