fromJson static method
Implementation
static ImportedContact? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ImportedContact(
phoneNumber: (json['phone_number'] as String?) ?? '',
firstName: (json['first_name'] as String?) ?? '',
lastName: (json['last_name'] as String?) ?? '',
note: FormattedText.fromJson(tdMapFromJson(json['note'])),
);
}