toEntity method

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

Implementation

@override
BlockingEntity toEntity({String? appId}) {
  return BlockingEntity(
    memberBlocking: memberBlocking,
    memberBeingBlocked:
        (memberBeingBlocked != null) ? memberBeingBlocked : null,
  );
}