attrFromParts static method

MeiliAttributeExpression attrFromParts(
  1. List<String> parts
)

Creates an attribute from parts to represent object nesting

Meili.attrFromParts(['contact','phone']) is equivalent to Meili.attr('contact.phone')

Implementation

static MeiliAttributeExpression attrFromParts(List<String> parts) =>
    MeiliAttributeExpression.fromParts(parts);