toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'input':            input,
      'output':           output,
      if (baseUrl != null) 'baseUrl': baseUrl,
      'format':           format,
      'deduplicate':      deduplicate,
      'inferNullability': inferNullability,
      'verbose':          verbose,
      'watch':            watch,
      'features':         features,
    };