startNfcHce method
Starts the NFC host card emulation. If persistMessage is true, the NFC message is stored in a text file in the internal storage.
Implementation
Future<String?> startNfcHce(
String content, {
String mimeType = 'text/plain',
bool persistMessage = true,
}) {
return FlutterNfcHcePlatform.instance.startNfcHce(
content,
mimeType,
persistMessage,
);
}