setFromJson method
Convert any given json to correspondig types and store it. If fails, it returns false.
Implementation
@override
bool setFromJson(json) {
final result = super.setFromJson(json);
if (result == true) {
isNull = false;
} else {
isNull = true;
_list.clear();
}
return true;
}