key property
String
key
Gets the last token in a Firebase Database location (e.g. ‘fred’ in https://SampleChat.firebaseIO-demo.com/users/fred)
Implementation
String get key => _databaseReferencePlatform.pathComponents.last;