call method
Implementation
@override
Object? call(Interpreter interpreter, List<Object?> arguments,
Map<Symbol, Object?> namedArguments) {
double? height = parseDouble(namedArguments[const Symbol('height')]);
double? thickness = parseDouble(namedArguments[const Symbol('thickness')]);
double? indent = parseDouble(namedArguments[const Symbol('indent')]);
double? endIndent = parseDouble(namedArguments[const Symbol('endIndent')]);
Color? color;
var colorParsed = namedArguments[const Symbol('color')];
if (colorParsed != null) {
color = colorParsed as Color;
}
return Divider(
height: height,
thickness: thickness,
indent: indent,
endIndent: endIndent,
color: color,
);
}