fromJson method

  1. @override
DateTime? fromJson(
  1. dynamic json
)

Implementation

@override
DateTime? fromJson(dynamic json) {
  return _parseObject<DateTime?>(
      json,
      (v) => DateTimeSecondsParser.tryParseSecondsSinceEpoch(
          int.tryParse(v.toString())));
}