AddKey constructor

AddKey({
  1. PublicKey? publicKey,
  2. AccessKey? accessKey,
})

Implementation

factory AddKey({
  PublicKey? publicKey,
  AccessKey? accessKey,
}) {
  final _result = create();
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  if (accessKey != null) {
    _result.accessKey = accessKey;
  }
  return _result;
}