path property

String get path

Gets the path of this document (relative to the root of the database) as a slash-separated string, such as cities/SF.

Returns the path of this document.

Implementation

String get path => key.path.canonicalString;