fromEntityPlus static method
Future<MemberActionModel?>
fromEntityPlus(
- String documentID,
- MemberActionEntity? entity, {
- String? appId,
Implementation
static Future<MemberActionModel?> fromEntityPlus(
String documentID, MemberActionEntity? entity,
{String? appId}) async {
if (entity == null) return null;
return MemberActionModel(
documentID: documentID,
text: entity.text,
description: entity.description,
action: await ActionModel.fromEntityPlus(entity.action, appId: appId),
);
}