@@ -200,8 +200,10 @@ class GenerateDartModel extends _GenerateDartModel {
200200 ? .toSet ()
201201 .unmodifiable;
202202 final shouldInherit = letAsOrNull <bool >(json? ['shouldInherit' ]);
203- final inheritanceConstructor = json? ['inheritanceConstructor' ]? .toString ().trim ().nullIfEmpty;
204- final keyStringCase = json? ['keyStringCase' ]? .toString ().trim ().nullIfEmpty;
203+ final inheritanceConstructor =
204+ json? ['inheritanceConstructor' ]? .toString ().trim ().nullIfEmpty;
205+ final keyStringCase =
206+ json? ['keyStringCase' ]? .toString ().trim ().nullIfEmpty;
205207 final description = json? ['description' ]? .toString ().trim ().nullIfEmpty;
206208 return GenerateDartModel (
207209 className: className,
@@ -261,7 +263,8 @@ class GenerateDartModel extends _GenerateDartModel {
261263 .nullIfEmpty
262264 ? .toList ();
263265 final shouldInherit0 = shouldInherit;
264- final inheritanceConstructor0 = inheritanceConstructor? .trim ().nullIfEmpty;
266+ final inheritanceConstructor0 =
267+ inheritanceConstructor? .trim ().nullIfEmpty;
265268 final keyStringCase0 = keyStringCase? .trim ().nullIfEmpty;
266269 final description0 = description? .trim ().nullIfEmpty;
267270 final withNulls = {
@@ -303,7 +306,8 @@ class GenerateDartModel extends _GenerateDartModel {
303306 className: className ?? this .className,
304307 fields: fields ?? this .fields,
305308 shouldInherit: shouldInherit ?? this .shouldInherit,
306- inheritanceConstructor: inheritanceConstructor ?? this .inheritanceConstructor,
309+ inheritanceConstructor:
310+ inheritanceConstructor ?? this .inheritanceConstructor,
307311 keyStringCase: keyStringCase ?? this .keyStringCase,
308312 description: description ?? this .description,
309313 );
@@ -322,7 +326,8 @@ class GenerateDartModel extends _GenerateDartModel {
322326 className: className ? this .className : null ,
323327 fields: fields ? this .fields : null ,
324328 shouldInherit: shouldInherit ? this .shouldInherit : null ,
325- inheritanceConstructor: inheritanceConstructor ? this .inheritanceConstructor : null ,
329+ inheritanceConstructor:
330+ inheritanceConstructor ? this .inheritanceConstructor : null ,
326331 keyStringCase: keyStringCase ? this .keyStringCase : null ,
327332 description: description ? this .description : null ,
328333 );
0 commit comments