$declaration constant

BridgeClassDef const $declaration

dart_eval compile-time class declaration

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, isAbstract: false),
    constructors: {
      '': BridgeConstructorDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
        BridgeParameter('codePoint',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), false)
      ], namedParams: [
        BridgeParameter(
            'fontFamily',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
                nullable: true),
            true),
        BridgeParameter(
            'fontPackage',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
                nullable: true),
            true),
        BridgeParameter('matchTextDirection',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true)
      ]))
    },
    wrap: true);