ProviderInfo constructor
const
ProviderInfo({
- required String name,
- required String dataType,
- required bool isKeepAlive,
- required ProviderType type,
- required List<
ParameterInfo> params, - required List<
Command> commands, - bool isFunctional = false,
- String? functionName,
- bool requiresRef = false,
- bool isSettable = false,
- bool hasPagedMapper = false,
- List<
String> allProviderVarNames = const [], - 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;