DontkillmyApp class

A utility class for interacting with dontkillmyapp.com API

This class provides static constants for accessing the dontkillmyapp.com API which provides information about aggressive battery saving mechanisms on different Android devices.

The class contains:

  • Base URL for API access
  • API endpoint path
  • Fallback manufacturer name when device maker is unknown

Example:

final apiUrl = DontkillmyApp.baseUurl + DontkillmyApp.endpoint;

Constructors

DontkillmyApp.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

baseUurl String
Base URL for the dontkillmyapp.com API
getter/setter pair
endpoint String
Base endpoint for the dontkillmyapp.com API
getter/setter pair
fallbackManufacturer String
Fallback manufacturer for when the device manufacturer cannot be determined
getter/setter pair