key property

String? key

Gets the last token in a Firebase Database location (e.g. ‘fred’ in https://SampleChat.firebaseIO-demo.com/users/fred)

key on the root of a Firebase is null.

Implementation

String? get key;