AudioProcessingComponentState.fromMap constructor

AudioProcessingComponentState.fromMap(
  1. Map map
)

Implementation

factory AudioProcessingComponentState.fromMap(Map<dynamic, dynamic> map) => AudioProcessingComponentState(
      requested: map['requested'] is Map
          ? AudioProcessingComponentRequest.fromMap(Map<dynamic, dynamic>.from(map['requested'] as Map))
          : null,
      isSoftwareResolved: (map['isSoftwareResolved'] as bool?) ?? false,
      isSoftwareActive: (map['isSoftwareActive'] as bool?) ?? false,
      isPlatformAvailable: (map['isPlatformAvailable'] as bool?) ?? false,
      isPlatformResolved: (map['isPlatformResolved'] as bool?) ?? false,
      isPlatformActive: (map['isPlatformActive'] as bool?) ?? false,
      effective: AudioProcessingImplementation.fromValue(map['effective'] as String?),
    );