takeBuilderArgument static method
This static function returns the first argument from the arguments array passed to a GraphObject.defineBuilder function by GraphObject.make. By default this requires the first argument to be a string, but you can provide a predicate to determine whether the argument is suitable.
Implementation
static _i2.dynamic takeBuilderArgument(
_i7.Array<_i2.dynamic> args, [
_i2.dynamic defval,
_i2.bool Function([_i2.dynamic])? pred,
]) =>
_i4.callMethod(
_declaredGraphObject,
'takeBuilderArgument',
[
args,
defval,
pred == null ? _i5.undefined : _i4.allowInterop(pred),
],
);