Common class
Constructors
- Common()
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 Methods
-
configureAudioSession(
) → dynamic -
setAudioSessionActive(
bool value) → Future< void> - 设置iOS的AVAudioSession iOS 要求应用必须通过激活 AudioSession 明确声明 “需要使用音频资源”,否则系统会拒绝分配麦克风、扬声器等硬件权限