toJson method
Returns the json representation of value.
Implementation
@override
dynamic toJson() {
try {
return (value as dynamic)?.toJson();
} on Exception catch (_) {
throw Exception('$T has not method [toJson]');
}
}
Returns the json representation of value.
@override
dynamic toJson() {
try {
return (value as dynamic)?.toJson();
} on Exception catch (_) {
throw Exception('$T has not method [toJson]');
}
}