hexHasPrefix function

bool hexHasPrefix(
  1. String hex
)

checks if hex has 0x prefix

Implementation

bool hexHasPrefix(String hex) => hex.startsWith('0x');