SolEvent constructor

SolEvent({
  1. required String name,
  2. required List<SolType> inputs,
  3. List<String>? inputNames,
  4. List<bool>? indexed,
  5. bool anonymous = false,
})

Implementation

SolEvent({
  required this.name,
  required this.inputs,
  List<String>? inputNames,
  List<bool>? indexed,
  this.anonymous = false,
})  : inputNames = inputNames ?? List.filled(inputs.length, ''),
      indexed = indexed ?? List.filled(inputs.length, false);