instanceMemberGet method
dynamic
instanceMemberGet(})
override
Default HTExternalClass constructor.
Fetch a instance member of the Dart class by the id, in the form of
object.key
Implementation
@override
dynamic instanceMemberGet(dynamic instance, String id,
{bool ignoreUndefined = false}) {
switch (id) {
case 'toFixed':
return ({object, positionalArgs, namedArgs}) =>
double.parse(object.toStringAsFixed(positionalArgs.first));
default:
return superClass?.instanceMemberGet(instance, id);
}
}