toEntity method

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

Implementation

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