ReaderMediaSource constructor

ReaderMediaSource(
  1. {required String uniqueKey,
  2. required String sourceName,
  3. required String description,
  4. required IconData icon,
  5. required bool implementsSearch,
  6. required bool implementsHistory,
  7. bool overridesAutoImage = false,
  8. bool overridesAutoAudio = false}
)

Initialise a media source.

Implementation

ReaderMediaSource({
  required super.uniqueKey,
  required super.sourceName,
  required super.description,
  required super.icon,
  required super.implementsSearch,
  required super.implementsHistory,
  super.overridesAutoImage = false,
  super.overridesAutoAudio = false,
}) : super(
        mediaType: ReaderMediaType.instance,
      );