convertFrom method

  1. @override
int? convertFrom(
  1. String? value
)
override

On empty string this function should return null

Implementation

@override
int? convertFrom(String? value) => int.tryParse(value ?? '');