NetworkProfileData.fromJson constructor

NetworkProfileData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NetworkProfileData.fromJson(Map<String, dynamic> json) {
  return NetworkProfileData(
    certificateAuthorityArn: json['CertificateAuthorityArn'] as String?,
    description: json['Description'] as String?,
    eapMethod: (json['EapMethod'] as String?)?.toNetworkEapMethod(),
    networkProfileArn: json['NetworkProfileArn'] as String?,
    networkProfileName: json['NetworkProfileName'] as String?,
    securityType: (json['SecurityType'] as String?)?.toNetworkSecurityType(),
    ssid: json['Ssid'] as String?,
  );
}