toEntity method

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

Implementation

@override
AssignmentViewEntity toEntity({String? appId}) {
  return AssignmentViewEntity(
    appId: appId,
    title: (title != null) ? title : null,
    description: (description != null) ? description : null,
    conditions:
        (conditions != null) ? conditions!.toEntity(appId: appId) : null,
  );
}