fromEntityPlus static method
Future<BlockingModel?>
fromEntityPlus(
- String documentID,
- BlockingEntity? entity, {
- String? appId,
Implementation
static Future<BlockingModel?> fromEntityPlus(
String documentID, BlockingEntity? entity,
{String? appId}) async {
if (entity == null) return null;
return BlockingModel(
documentID: documentID,
memberBlocking: entity.memberBlocking ?? '',
memberBeingBlocked: entity.memberBeingBlocked,
);
}