toJson method

  1. @override
int toJson(
  1. Duration object
)

Implementation

@override
int toJson(Duration object) => object.inMilliseconds;