NamespaceProperties.fromJson constructor

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

Implementation

factory NamespaceProperties.fromJson(Map<String, dynamic> json) {
  return NamespaceProperties(
    dnsProperties: json['DnsProperties'] != null
        ? DnsProperties.fromJson(
            json['DnsProperties'] as Map<String, dynamic>)
        : null,
    httpProperties: json['HttpProperties'] != null
        ? HttpProperties.fromJson(
            json['HttpProperties'] as Map<String, dynamic>)
        : null,
  );
}