Integer.fromString constructor

Integer.fromString(
  1. String s
)

Implementation

Integer.fromString(String s) {
  final f = double.parse(s);
  _value = _clampTo32Bit(f.toInt());
}