NearbyMessage.handshakeMessage constructor
NearbyMessage.handshakeMessage(
- String handshakePayload, {
- dynamic signature,
Implementation
NearbyMessage.handshakeMessage(String handshakePayload, {signature})
: messageType = NearbyMessageType.handshake,
dateTime = DateTime.now(),
message = BytesUtils.stringToBytesArray(handshakePayload),
pSize = BytesUtils.stringToBytesArray(handshakePayload).length,
signature = signature ?? Uint8List(0);