TransactionOptions constructor

TransactionOptions({
  1. TransactionOptions_ReadOnly? readOnly,
  2. TransactionOptions_ReadWrite? readWrite,
})

Implementation

factory TransactionOptions({
  TransactionOptions_ReadOnly? readOnly,
  TransactionOptions_ReadWrite? readWrite,
}) {
  final $result = create();
  if (readOnly != null) {
    $result.readOnly = readOnly;
  }
  if (readWrite != null) {
    $result.readWrite = readWrite;
  }
  return $result;
}