BatteryChargingState class

싱글톤 디자인 패턴을 사용, 하나의 인스턴스만을 생성하고, 이를 공유하는 디자인 패턴 클래스는 안드로이드 쪽의 배터리 충전 상태 이벤트를 수신하고 Flutter 앱으로 이를 전달하기 위한 클래스

Constructors

BatteryChargingState()
factory

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

getChargingStateStream() Stream<BatteryState>
메서드는 배터리의 충전 상태를 구독하는 스트림을 반환
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