fromEntityPlus static method
Future<FollowingArrayModel?>
fromEntityPlus(
- String documentID,
- FollowingArrayEntity? entity, {
- String? appId,
Implementation
static Future<FollowingArrayModel?> fromEntityPlus(
String documentID, FollowingArrayEntity? entity,
{String? appId}) async {
if (entity == null) return null;
return FollowingArrayModel(
documentID: documentID,
appId: entity.appId ?? '',
followers: entity.followers,
);
}