$declaration constant
BridgeClassDef
const $declaration
Compile-type class declaration for MethodCall
Implementation
static const $declaration = BridgeClassDef(BridgeClassType($type),
constructors: {
'': BridgeConstructorDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
BridgeParameter('method',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)), false),
BridgeParameter('arguments',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.dynamic)), true)
]))
},
getters: {
'method': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)))),
'arguments': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.dynamic)))),
},
wrap: true);