toEntity method
Implementation
@override
MembershipDashboardEntity toEntity({String? appId}) {
return MembershipDashboardEntity(
appId: appId,
description: (description != null) ? description : null,
memberActions: (memberActions != null)
? memberActions!.map((item) => item.toEntity(appId: appId)).toList()
: null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}