toJson method

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

Implementation

@override
String toJson(Duration object) => object.toString();