InstanceAccess.fromJson constructor
InstanceAccess.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InstanceAccess.fromJson(Map<String, dynamic> json) {
return InstanceAccess(
credentials: json['Credentials'] != null
? InstanceCredentials.fromJson(
json['Credentials'] as Map<String, dynamic>)
: null,
fleetId: json['FleetId'] as String?,
instanceId: json['InstanceId'] as String?,
ipAddress: json['IpAddress'] as String?,
operatingSystem:
(json['OperatingSystem'] as String?)?.toOperatingSystem(),
);
}