toMap method

Map<String, dynamic> toMap()

A convenience function that simplifies the output to the compiler.

Implementation

Map<String, dynamic> toMap() => {
      if (arrayItemSuffix != null) 'arrayItemSuffix': arrayItemSuffix!,
      if (mapItemSuffix != null) 'mapItemSuffix': mapItemSuffix!,
      'skipSchemaReuse': skipSchemaReuse,
      'refactorAllofInlineSchemas': refactorAllofInlineSchemas,
      'resolveInlineEnums': resolveInlineEnums,
    };