From 3ff87144fe3ddebbf34d154df32723264e73c5bc Mon Sep 17 00:00:00 2001 From: Michael Bui <25263378+MaikuB@users.noreply.github.com> Date: Mon, 24 Feb 2020 20:59:41 +1100 Subject: [PATCH] [flutter_local_notifications] update API docs for resolvePlatformSpecificImplementation() method (#498) * fix typo in API docs for resolvePlatformSpecificImplementation method * add link to FlutterLocalNotificationsPlatform docs in API docs * bump plugin version --- flutter_local_notifications/CHANGELOG.md | 4 ++++ .../lib/src/flutter_local_notifications_plugin.dart | 4 ++-- flutter_local_notifications/pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flutter_local_notifications/CHANGELOG.md b/flutter_local_notifications/CHANGELOG.md index 6b4103f19..fa476ac1f 100644 --- a/flutter_local_notifications/CHANGELOG.md +++ b/flutter_local_notifications/CHANGELOG.md @@ -1,3 +1,7 @@ +# [1.2.0+3] + +* Updated API docs for `resolvePlatformSpecificImplementation()` method + # [1.2.0+2] * Make the static `values` propeerty of the `Priority` class return `List` instead of being dynamic and added API docs for the property. diff --git a/flutter_local_notifications/lib/src/flutter_local_notifications_plugin.dart b/flutter_local_notifications/lib/src/flutter_local_notifications_plugin.dart index 29039353a..85760c2ee 100644 --- a/flutter_local_notifications/lib/src/flutter_local_notifications_plugin.dart +++ b/flutter_local_notifications/lib/src/flutter_local_notifications_plugin.dart @@ -48,10 +48,10 @@ class FlutterLocalNotificationsPlugin { final Platform _platform; /// Returns the underlying platform-specific implementation of given type [T], which - /// must be the type of a concrete [FlutterLocalNotificationsPlatform] subclass. + /// must be the type of a concrete [FlutterLocalNotificationsPlatform](https://pub.dev/documentation/flutter_local_notifications_platform_interface/latest/flutter_local_notifications_platform_interface/FlutterLocalNotificationsPlatform-class.html) subclass. /// /// Requires running on the appropriate platform that matches the specified type for a result to be returned. - /// For example, when the specified type argument is of type [AndroidFlutterLocalNotificatiosPlugin], + /// For example, when the specified type argument is of type [AndroidFlutterLocalNotificationsPlugin], /// this will only return a result of that type when running on Android. T resolvePlatformSpecificImplementation< T extends FlutterLocalNotificationsPlatform>() { diff --git a/flutter_local_notifications/pubspec.yaml b/flutter_local_notifications/pubspec.yaml index da774ead3..45a251bd7 100644 --- a/flutter_local_notifications/pubspec.yaml +++ b/flutter_local_notifications/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_local_notifications description: A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform. -version: 1.2.0+2 +version: 1.2.0+3 homepage: https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications dependencies: