fromEntity static method
Implementation
static Future<FollowingModel?> fromEntity(
String documentID, FollowingEntity? entity) async {
if (entity == null) return null;
return FollowingModel(
documentID: documentID,
appId: entity.appId ?? '',
);
}