Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelbeltran committed Feb 29, 2024
1 parent 157ebb4 commit ad0ca41
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class DeviceInfoPlusWebPlugin extends DeviceInfoPlatform {

/// Property is missing.
/// Ticket: https://github.com/dart-lang/web/issues/192
/// Probably won't be an int? in the future!
extension on html.Navigator {
external double get deviceMemory;
external int? get deviceMemory;
}

0 comments on commit ad0ca41

Please sign in to comment.