DurationConverter class Null safety

DurationConverter converter for Duration type

Implemented types

Constructors

DurationConverter()
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

fromJSON(dynamic jsonValue, [DeserializationContext? context]) Duration?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJSON(Duration? object, [SerializationContext? context]) → dynamic
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited