integerOrNull method

int? integerOrNull(
  1. String key
)

Get int or null by String key.

Implementation

int? integerOrNull(String key) => integerNodeOrNull(key)?.data;