call method
Implementation
@override
Object call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
if (arguments.isEmpty) {
throw "value required in CustomFloatingActionButtonLocation";
}
var value = arguments.first;
Offset offset = Offset.zero;
var offsetParsed = namedArguments[const Symbol('offset')];
if (offsetParsed != null) {
offset = offsetParsed as Offset;
}
return CustomFloatingActionButtonLocation(
value as FloatingActionButtonLocation,
offset: offset);
}