toEntity method

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

Implementation

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