NfcReadWritePlugin class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
decrypt(String message, Uint8List arrKey, Uint8List arrIV)
→ Future
-
-
encrypt(String message, Uint8List arrKey, Uint8List arrIV)
→ Future
-
-
eventListen({bool type = true, required Function onEvent, Function? onError})
→ dynamic
-
数据监听
-
initService(String passwordA, String passwordB)
→ Future
-
-
onChange({bool type = true})
→ Stream
-
初始化监听
-
readAll({bool decrypt = false})
→ Future
-
-
readBlock(int blockIndex, {bool decrypt = false})
→ Future
-
-
readBlockBytes(int blockIndex)
→ Future
-
-
readSector(int sectorIndex, {bool decrypt = false})
→ Future
-
-
writeBlock(int blockIndex, String data, {bool encrypt = false})
→ Future
-
-
writeBlockByBytes(int blockIndex, List<int> data)
→ Future
-