fromJson method

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

Implementation

@override
Duration? fromJson(dynamic json) {
  return _parseObject<Duration?>(
      IntJsonConverter().fromJson(json), (v) => Duration(seconds: v));
}