DistributionBundle.fromJson constructor

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

Implementation

factory DistributionBundle.fromJson(Map<String, dynamic> json) {
  return DistributionBundle(
    bundleId: json['bundleId'] as String?,
    isActive: json['isActive'] as bool?,
    name: json['name'] as String?,
    price: json['price'] as double?,
    transferPerMonthInGb: json['transferPerMonthInGb'] as int?,
  );
}