appsup-dart / firebase_admin

A pure Dart implementation of the Firebase admin sdk
Other
44 stars 51 forks source link

_AuthTokenProvider.onTokenChanged' ('Stream<String?> Function()') isn't a valid override of 'AuthTokenProvider.onTokenChanged #22

Open sgehrman opened 3 years ago

sgehrman commented 3 years ago

Code has errors

[{ "resource": "/home/steve/Documents/GitHub/forks/firebase_admin/lib/src/database.dart", "owner": "_generated_diagnostic_collectionname#0", "code": { "value": "invalid_override", "target": { "$mid": 1, "external": "https://dart.dev/diagnostics/invalid_override", "path": "/diagnostics/invalid_override", "scheme": "https", "authority": "dart.dev" } }, "severity": 8, "message": "'_AuthTokenProvider.onTokenChanged' ('Stream<String?> Function()') isn't a valid override of 'AuthTokenProvider.onTokenChanged' ('Stream<Future?> Function()').", "source": "dart", "startLineNumber": 25, "startColumn": 23, "endLineNumber": 25, "endColumn": 37 }]