Contact.fromJson constructor
Implementation
Contact.fromJson(Map<String, Object?> json)
    : emailAddress =
          ((v) => v != null ? v as String : null)(json['email_address']),
      matrixId = ((v) => v != null ? v as String : null)(json['matrix_id']),
      role = Role.values.fromString(json['role'] as String)!;