import 'package:json_annotation/json_annotation.dart'; part 'tenant_package_calculate_details.g.dart'; @JsonSerializable(explicitToJson: true) class TenantPackageCalculateDetails { String? totalFee = ''; String? expirationTime = ''; int? duration = 0; String? packageId = ''; TenantPackageCalculateDetails(); factory TenantPackageCalculateDetails.fromJson(Map json) => _$TenantPackageCalculateDetailsFromJson(json); Map toJson() => _$TenantPackageCalculateDetailsToJson(this); }