Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 0f6fb8f

Browse files
authored
Merge pull request #46 from onewelcome/hotfix/staticAnalysis
hotfix fix pass static analysis warnings
2 parents ad4e646 + 1106173 commit 0f6fb8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/model/onegini_event.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Event {
1616
String? eventName;
1717

1818
/// Event value
19-
dynamic? eventValue;
19+
dynamic eventValue;
2020

2121
factory Event.fromJson(Map<String, dynamic> json) => Event(
2222
eventName: json["eventName"].toString(),

lib/onegini.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Onegini {
4848
}) async {
4949
_eventListener = eventListener;
5050
try {
51-
var customIdentityProviderConfigsJson = null;
51+
var customIdentityProviderConfigsJson;
5252
if (customIdentityProviderConfigs != null) {
5353
customIdentityProviderConfigsJson = [for (var customIdentityProviderConfig in customIdentityProviderConfigs) json.encode(customIdentityProviderConfig)];
5454
}

0 commit comments

Comments
 (0)