fromMap static method
Implementation
static BodyComponentEntity? fromMap(Object? o,
{Map<String, String>? newDocumentIds}) {
if (o == null) return null;
var map = o as Map<String, dynamic>;
return BodyComponentEntity(
componentName: map['componentName'],
componentId: map['componentId'],
);
}