writeAsString abstract method
Writes contents to id using encoding.
The id must be one of allowedOutputs or an UnexpectedOutputException
is thrown. And, this must be the first write to it, or an
InvalidOutputException is thrown.
Implementation
@override
Future<void> writeAsString(
AssetId id,
FutureOr<String> contents, {
Encoding encoding = utf8,
});