fromEntityPlus static method
Implementation
static Future<LinkModel?> fromEntityPlus(
String documentID, LinkEntity? entity,
{String? appId}) async {
if (entity == null) return null;
return LinkModel(
documentID: documentID,
linkText: entity.linkText,
action: await ActionModel.fromEntityPlus(entity.action, appId: appId),
);
}