ProviderInfo constructor

const ProviderInfo({
  1. required String name,
  2. required String dataType,
  3. required bool isKeepAlive,
  4. required ProviderType type,
  5. required List<ParameterInfo> params,
  6. required List<Command> commands,
  7. bool isFunctional = false,
  8. String? functionName,
  9. bool requiresRef = false,
  10. bool isSettable = false,
  11. bool hasPagedMapper = false,
  12. List<String> allProviderVarNames = const [],
  13. List<PublicMethod> publicMethods = const [],
})

Implementation

const ProviderInfo({
  required this.name,
  required String dataType,
  required this.isKeepAlive,
  required this.type,
  required this.params,
  required this.commands,
  this.isFunctional = false,
  this.functionName,
  this.requiresRef = false,
  this.isSettable = false,
  this.hasPagedMapper = false,
  this.allProviderVarNames = const [],
  this.publicMethods = const [],
}) : _dataType = dataType;