TunnelSummary.fromJson constructor
Implementation
factory TunnelSummary.fromJson(Map<String, dynamic> json) {
return TunnelSummary(
createdAt: timeStampFromJson(json['createdAt']),
description: json['description'] as String?,
lastUpdatedAt: timeStampFromJson(json['lastUpdatedAt']),
status: (json['status'] as String?)?.toTunnelStatus(),
tunnelArn: json['tunnelArn'] as String?,
tunnelId: json['tunnelId'] as String?,
);
}