GlueRecord.fromJson constructor

GlueRecord.fromJson(
  1. Map json_
)

Implementation

GlueRecord.fromJson(core.Map json_)
    : this(
        hostName: json_.containsKey('hostName')
            ? json_['hostName'] as core.String
            : null,
        ipv4Addresses: json_.containsKey('ipv4Addresses')
            ? (json_['ipv4Addresses'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        ipv6Addresses: json_.containsKey('ipv6Addresses')
            ? (json_['ipv6Addresses'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );