isArgTypeASibling property
bool
get
isArgTypeASibling
If the sub type has super type SqliteModel
Returns true for Future<SqliteModel>
,
List<Future<SqliteModel>>
, and List<SqliteModel>
.
Implementation
bool get isArgTypeASibling {
if (isArgTypeAFuture) {
final futuredType = SharedChecker.typeOfFuture<_SiblingModel>(argType);
return _siblingClassChecker.isAssignableFromType(futuredType!);
}
return _siblingClassChecker.isAssignableFromType(argType);
}