toIntValue method Null safety

int? toIntValue()

Return an integer corresponding to the value of the object being represented, or null if

  • this object is not of type 'int',
  • the value of the object being represented is not known, or
  • the value of the object being represented is null.

Implementation

int? toIntValue();