ResourceRecord.fromJson constructor

ResourceRecord.fromJson(
  1. Map json_
)

Implementation

ResourceRecord.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        rrdata: json_.containsKey('rrdata')
            ? json_['rrdata'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );