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