factory DomainInfo.fromJson(Map<String, dynamic> json) { return DomainInfo( domainName: json['DomainName'] as String?, engineType: (json['EngineType'] as String?)?.toEngineType(), ); }