nullableIntFromJson function

int? nullableIntFromJson(
  1. dynamic value
)

Implementation

int? nullableIntFromJson(dynamic value) => int.tryParse((value ?? '').toString());