GenericAction constructor

GenericAction({
  1. Accounts? accounts,
  2. String? value,
  3. String? data,
  4. int? version,
  5. int? options,
})

Implementation

factory GenericAction({
  Accounts? accounts,
  $core.String? value,
  $core.String? data,
  $core.int? version,
  $core.int? options,
}) {
  final _result = create();
  if (accounts != null) {
    _result.accounts = accounts;
  }
  if (value != null) {
    _result.value = value;
  }
  if (data != null) {
    _result.data = data;
  }
  if (version != null) {
    _result.version = version;
  }
  if (options != null) {
    _result.options = options;
  }
  return _result;
}