ZypperSettings.fromJson constructor

ZypperSettings.fromJson(
  1. Map json_
)

Implementation

ZypperSettings.fromJson(core.Map json_)
  : this(
      categories: (json_['categories'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      excludes: (json_['excludes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      exclusivePatches: (json_['exclusivePatches'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      severities: (json_['severities'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      withOptional: json_['withOptional'] as core.bool?,
      withUpdate: json_['withUpdate'] as core.bool?,
    );