atsInStr function

int atsInStr(
  1. String s
)

Implementation

int atsInStr(String s) => RegExp(r'@').allMatches(s).length;