FieldPath.fromArgument constructor
FieldPath.fromArgument(
- FieldMask fieldMask
Implementation
factory FieldPath.fromArgument(FieldMask fieldMask) {
return switch (fieldMask) {
_FieldPathFieldMask() => fieldMask.fieldPath,
_StringFieldMask() => FieldPath(fieldMask.path.split('.').toList()),
};
}