Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/src/generated/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ class Pusher implements PusherId {
required this.data,
required this.deviceDisplayName,
required this.kind,
required this.lang,
this.lang,
this.profileTag,
});

Expand All @@ -1858,7 +1858,7 @@ class Pusher implements PusherId {
data = PusherData.fromJson(json['data'] as Map<String, Object?>),
deviceDisplayName = json['device_display_name'] as String,
kind = json['kind'] as String,
lang = json['lang'] as String,
lang = json['lang'] as String?,
profileTag =
((v) => v != null ? v as String : null)(json['profile_tag']);
Map<String, Object?> toJson() {
Expand Down Expand Up @@ -1902,7 +1902,7 @@ class Pusher implements PusherId {

/// The preferred language for receiving notifications (e.g. 'en'
/// or 'en-US')
String lang;
String? lang;

/// This string determines which set of device specific rules this
/// pusher executes.
Expand Down