call method
Implementation
@override
Object call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
var offset = namedArguments[const Symbol('offset')];
if (offset == null) {
throw "offset required in Transform.translate";
}
FilterQuality? filterQuality;
var filterQualityParsed = namedArguments[const Symbol('filterQuality')];
if (filterQualityParsed != null) {
filterQuality = filterQualityParsed as FilterQuality;
}
Widget? child;
var childParsed = namedArguments[const Symbol('child')];
if (childParsed != null) {
child = childParsed as Widget;
}
return Transform.translate(
offset: offset as Offset,
filterQuality: filterQuality,
child: child,
);
}