RelaxerClassConfig class
Configuration for a class to include in reduced relaxer/RC-2 generation.
Used only when BridgeConfig.generateAllRelaxers is false. Each entry
names a concrete bridged class that should remain an eligible generic
type-argument in the reduced relaxer factory and RC-2 constructor switches,
on top of the type-args discovered from real extraction sites.
Accepts a bare string (just the class name) or a map, mirroring ProxyClassConfig.fromYaml:
d4rtgen:
generateAllRelaxers: false
relaxerClasses:
- AlertDialog
- className: SnackBar
Constructors
- RelaxerClassConfig({required String className})
-
const
-
RelaxerClassConfig.fromJson(Map<
String, dynamic> json) -
factory
- RelaxerClassConfig.fromYaml(Object value)
-
Parse from a simple string (just the class name) or a map.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited