toJson method
dynamic
toJson()
Implementation
dynamic toJson() {
try {
return (value as dynamic)?.toJson();
} on Exception catch (_) {
throw Exception("$T has not method [toJson]");
}
}
dynamic toJson() {
try {
return (value as dynamic)?.toJson();
} on Exception catch (_) {
throw Exception("$T has not method [toJson]");
}
}