schema property

  1. @override
Map<String, dynamic> get schema
override

Implementation

@override
Map<String, dynamic> get schema => {
  "type": "object",
  "additionalProperties": false,
  "required": ["expression"],
  "properties": {
    "expression": {
      "type": "string",
      "description":
          "The expression to evaluate. Supports parentheses, PEMDAS, trig functions, pow(a,b), min, max, etc.",
    },
  },
};