MigrateBasePlanPricesRequest.fromJson constructor
MigrateBasePlanPricesRequest.fromJson(
- Map json_
Implementation
MigrateBasePlanPricesRequest.fromJson(core.Map json_)
: this(
basePlanId: json_.containsKey('basePlanId')
? json_['basePlanId'] as core.String
: null,
latencyTolerance: json_.containsKey('latencyTolerance')
? json_['latencyTolerance'] as core.String
: null,
packageName: json_.containsKey('packageName')
? json_['packageName'] as core.String
: null,
productId: json_.containsKey('productId')
? json_['productId'] as core.String
: null,
regionalPriceMigrations: json_.containsKey('regionalPriceMigrations')
? (json_['regionalPriceMigrations'] as core.List)
.map((value) => RegionalPriceMigrationConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
regionsVersion: json_.containsKey('regionsVersion')
? RegionsVersion.fromJson(json_['regionsVersion']
as core.Map<core.String, core.dynamic>)
: null,
);