toEntity method

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

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,
  );
}