FieldPath constructor

FieldPath(
  1. List<String> components
)

Implementation

FieldPath(this.components)
    : assert(components.isNotEmpty),
      assert(
        components.where((component) => component.isEmpty).isEmpty,
        'All components should be non-null',
      );