BridgeClassDef constructor
const
BridgeClassDef(
- BridgeClassType type, {
- required Map<
String, BridgeConstructorDef> constructors, - Map<
String, BridgeMethodDef> methods = const {}, - Map<
String, BridgeMethodDef> getters = const {}, - Map<
String, BridgeMethodDef> setters = const {}, - Map<
String, BridgeFieldDef> fields = const {}, - bool bridge = false,
- bool wrap = false,
Implementation
const BridgeClassDef(this.type,
{required this.constructors,
this.methods = const {},
this.getters = const {},
this.setters = const {},
this.fields = const {},
this.bridge = false,
this.wrap = false})
: assert(bridge != wrap,
'You must specify either bridge or wrap as true (but not both)');