CreatePackageResponse.fromJson constructor

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

Implementation

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