hashFCM function

String hashFCM(
  1. String fcm
)

Implementation

String hashFCM(String fcm) =>
    sha256.convert(utf8.encode("fcm:$fcm")).toString();