Rollout.fromJson constructor
Rollout.fromJson(
- Map json_
Implementation
Rollout.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
createdBy: json_.containsKey('createdBy')
? json_['createdBy'] as core.String
: null,
deleteServiceStrategy: json_.containsKey('deleteServiceStrategy')
? DeleteServiceStrategy.fromJson(json_['deleteServiceStrategy']
as core.Map<core.String, core.dynamic>)
: null,
rolloutId: json_.containsKey('rolloutId')
? json_['rolloutId'] as core.String
: null,
serviceName: json_.containsKey('serviceName')
? json_['serviceName'] as core.String
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
trafficPercentStrategy: json_.containsKey('trafficPercentStrategy')
? TrafficPercentStrategy.fromJson(json_['trafficPercentStrategy']
as core.Map<core.String, core.dynamic>)
: null,
);