fromJsonModel property

JsonModelConverter fromJsonModel
getter/setter pair

Implementation

static JsonModelConverter fromJsonModel = (data, [isNested = false]) => ModelTemplates.defaultTemplate(
      isNested: isNested,
      constructor: data.constructor,
      imports: data.imports,
      fileName: data.fileName,
      className: data.className,
      extendsClass: data.extendsClass,
      mixinClass: data.mixinClass,
      equalsDeclarations: data.equalsDeclarations,
      hashDeclarations: data.hashDeclarations,
      declaration: data.declaration,
      copyWith: data.copyWith,
      cloneFunction: data.cloneFunction,
      jsonFunctions: data.jsonFunctions,
      enums: data.enums,
      enumConverters: data.enumConverters,
      nestedClasses: data.nestedClasses,
    );