toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (newerThan != null) 'newerThan': newerThan!,
      if (olderThan != null) 'olderThan': olderThan!,
      if (packageNamePrefixes != null)
        'packageNamePrefixes': packageNamePrefixes!,
      if (tagPrefixes != null) 'tagPrefixes': tagPrefixes!,
      if (tagState != null) 'tagState': tagState!,
      if (versionNamePrefixes != null)
        'versionNamePrefixes': versionNamePrefixes!,
    };