AccessKey constructor

AccessKey({
  1. Int64? nonce,
  2. FunctionCallPermission? functionCall,
  3. FullAccessPermission? fullAccess,
})

Implementation

factory AccessKey({
  $fixnum.Int64? nonce,
  FunctionCallPermission? functionCall,
  FullAccessPermission? fullAccess,
}) {
  final _result = create();
  if (nonce != null) {
    _result.nonce = nonce;
  }
  if (functionCall != null) {
    _result.functionCall = functionCall;
  }
  if (fullAccess != null) {
    _result.fullAccess = fullAccess;
  }
  return _result;
}