fromEntityPlus static method
Future<LabelledBodyComponentModel?>
fromEntityPlus(
- String documentID,
- LabelledBodyComponentEntity? entity, {
- String? appId,
Implementation
static Future<LabelledBodyComponentModel?> fromEntityPlus(
String documentID, LabelledBodyComponentEntity? entity,
{String? appId}) async {
if (entity == null) return null;
return LabelledBodyComponentModel(
documentID: documentID,
label: entity.label,
componentName: entity.componentName,
componentId: entity.componentId,
);
}