EffectivePatch.fromJson constructor

EffectivePatch.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EffectivePatch.fromJson(Map<String, dynamic> json) {
  return EffectivePatch(
    patch: json['Patch'] != null
        ? Patch.fromJson(json['Patch'] as Map<String, dynamic>)
        : null,
    patchStatus: json['PatchStatus'] != null
        ? PatchStatus.fromJson(json['PatchStatus'] as Map<String, dynamic>)
        : null,
  );
}