ResourceRecord.fromJson constructor

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

Implementation

factory ResourceRecord.fromJson(Map<String, dynamic> json) {
  return ResourceRecord(
    name: json['Name'] as String,
    type: (json['Type'] as String).toRecordType(),
    value: json['Value'] as String,
  );
}