Get the current editor content. You can pass it an optional argument to specify the string to be used to separate lines (defaults to "\n").
String? getValue([String? separator]) => callArg('getValue', separator);