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