ShowToast constructor
ShowToast({
- required BuildContext context,
- String name = "show_toast",
- String description = "show a toast notification",
- String title = "show toast",
Implementation
ShowToast({required this.context, super.name = "show_toast", super.description = "show a toast notification", super.title = "show toast"})
: super(
inputSchema: {
"type": "object",
"additionalProperties": false,
"required": ["title", "description"],
"properties": {
"title": {"type": "string"},
"description": {"type": "string"},
},
},
);