onSubmit property
onSubmit function to execute when the user saves changes in a file.
This is a function that takes language
and value
as arguments.
language
is the language of the file edited by the user.value
is the content of the file.
Implementation
final Function(String? language, String? value)? onSubmit;