DomainEntry.fromJson constructor
Implementation
factory DomainEntry.fromJson(Map<String, dynamic> json) {
return DomainEntry(
id: json['id'] as String?,
isAlias: json['isAlias'] as bool?,
name: json['name'] as String?,
options: (json['options'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
target: json['target'] as String?,
type: json['type'] as String?,
);
}