NetworkSummary.fromJson constructor
NetworkSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory NetworkSummary.fromJson(Map<String, dynamic> json) {
return NetworkSummary(
creationDate: timeStampFromJson(json['CreationDate']),
description: json['Description'] as String?,
framework: (json['Framework'] as String?)?.toFramework(),
frameworkVersion: json['FrameworkVersion'] as String?,
id: json['Id'] as String?,
name: json['Name'] as String?,
status: (json['Status'] as String?)?.toNetworkStatus(),
);
}