Map<String, dynamic> toMap() { return ReferralModelMapper.ensureInitialized() .encodeMap<ReferralModel>(this as ReferralModel); }