UpdatePackageResponse.fromJson constructor

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

Implementation

factory UpdatePackageResponse.fromJson(Map<String, dynamic> json) {
  return UpdatePackageResponse(
    packageDetails: json['PackageDetails'] != null
        ? PackageDetails.fromJson(
            json['PackageDetails'] as Map<String, dynamic>)
        : null,
  );
}