CopyWith extension

Variable is a model to hold data variables we need some data manipulations extension on that here they are This model has a very very important role in this code generator everything about variables in the base-class are in this class

on

Methods

copyWith({String? name, String? typeString, DartType? type, bool? isCoreType, bool? isNullable, bool? isFinal, bool? hasRequired, bool? isList, bool? isEnum}) Variable

Available on Variable, provided by the CopyWith extension