isSerializableViaJson method
Implementation
bool isSerializableViaJson(bool doesDeserialize) {
if (isIterable) {
final argTypeChecker = SharedChecker<_SiblingModel>(argType);
return doesDeserialize
? argTypeChecker.fromJsonConstructor != null
: argTypeChecker.toJsonMethod != null;
}
return doesDeserialize ? fromJsonConstructor != null : toJsonMethod != null;
}