fromJson method

  1. @override
Duration fromJson(
  1. int json
)

Implementation

@override
Duration fromJson(int json) => Duration(milliseconds: json);