initializeMethods method

  1. @override
void initializeMethods(
  1. Map<String, BindingObjectMethod> methods
)
override

Implementation

@override
void initializeMethods(Map<String, BindingObjectMethod> methods) {
  super.initializeMethods(methods);
  methods['getPropertyValue'] = BindingObjectMethodSync(call: (args) => getPropertyValue(args[0]));
  methods['setProperty'] = BindingObjectMethodSync(call: (args) => setProperty(args[0], args[1]));
  methods['removeProperty'] = BindingObjectMethodSync(call: (args) => removeProperty(args[0]));
  methods['checkCSSProperty'] = BindingObjectMethodSync(call: (args) => checkCSSProperty(args[0]));
  methods['getFullCSSPropertyList'] = BindingObjectMethodSync(call: (args) => getFullCSSPropertyList());
}