|
@@ -142,6 +142,10 @@ namespace FlutterCodeGenerator
|
|
|
return modelType;
|
|
|
}
|
|
|
}
|
|
|
+ else if(type==typeof(object))
|
|
|
+ {
|
|
|
+ throw new Exception("Object is not supported, it should be specific type.");
|
|
|
+ }
|
|
|
else if (type.BaseType != typeof(object))
|
|
|
{
|
|
|
_tempTypes[type] = duplicatedTime;
|