Skip to content

Commit 1e12e46

Browse files
committed
change log updated
1 parent f353beb commit 1e12e46

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.0.1
1+
## v0.0.1
22

3-
* TODO: Describe initial release.
3+
* Initial Development Release

lib/src/helper/model/auto_reply.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ for more details.
88
99
*/
1010

11+
import 'package:reflex/src/helper/exception/reflex_exception.dart';
12+
1113
class AutoReply {
1214
AutoReply({
1315
this.packageNameList,
@@ -23,8 +25,7 @@ class AutoReply {
2325
factory AutoReply.fromMap(Map<dynamic, dynamic> map) {
2426
// Error Handling if map does not contain package name or message
2527
if (!map.containsKey('message')) {
26-
// TODO: Create own exception
27-
throw Exception('AutoReply do not contain message!');
28+
throw ReflexException('AutoReply message field cannot be empty!');
2829
}
2930

3031
List<String>? packageNameList =

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: reflex
22
description: Flutter plugin for notification read & reply.
33
version: 0.0.1
4-
homepage:
4+
repository: https://github.com/DevsOnFlutter/reflex
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
 (0)