FunctionCallPermission constructor

FunctionCallPermission({
  1. List<int>? allowance,
  2. String? receiverId,
  3. Iterable<String>? methodNames,
})

Implementation

factory FunctionCallPermission({
  $core.List<$core.int>? allowance,
  $core.String? receiverId,
  $core.Iterable<$core.String>? methodNames,
}) {
  final _result = create();
  if (allowance != null) {
    _result.allowance = allowance;
  }
  if (receiverId != null) {
    _result.receiverId = receiverId;
  }
  if (methodNames != null) {
    _result.methodNames.addAll(methodNames);
  }
  return _result;
}