toLong method

int toLong (dynamic value)

Converts value into long or returns 0 when conversion is not possible.

  • value the value to convert. Returns long value or 0 when conversion is not supported.

See [toLongWithDefault]