toEntity method

  1. @override
MemberDashboardEntity toEntity({
  1. String? appId,
})
override

Implementation

@override
MemberDashboardEntity toEntity({String? appId}) {
  return MemberDashboardEntity(
    appId: appId,
    description: (description != null) ? description : null,
    updateProfileText: (updateProfileText != null) ? updateProfileText : null,
    retrieveDataText: (retrieveDataText != null) ? retrieveDataText : null,
    deleteDataText: (deleteDataText != null) ? deleteDataText : null,
    retrieveDataEmailSubject:
        (retrieveDataEmailSubject != null) ? retrieveDataEmailSubject : null,
    deleteDataEmailSubject:
        (deleteDataEmailSubject != null) ? deleteDataEmailSubject : null,
    deleteDataEmailMessage:
        (deleteDataEmailMessage != null) ? deleteDataEmailMessage : null,
    conditions:
        (conditions != null) ? conditions!.toEntity(appId: appId) : null,
  );
}