EnsTextRecord.fromMap constructor

EnsTextRecord.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory EnsTextRecord.fromMap(Map<String, dynamic> map) {
  return EnsTextRecord(
    email: map['email'] ?? '',
    url: map['url'] ?? '',
    avatar: map['avatar'] ?? '',
    description: map['description'] ?? '',
    notice: map['notice'] ?? '',
    keywords: map['keywords'] ?? '',
    discord: map['com_discord'] ?? '',
    github: map['com_github'] ?? '',
    reddit: map['com_reddit'] ?? '',
    twitter: map['com_twitter'] ?? '',
    telegram: map['org_telegram'] ?? '',
    ensDelegate: map['eth_ens_delegate'] ?? '',
  );
}