RawAdaptiveCard.fromMap constructor

RawAdaptiveCard.fromMap(
  1. Map<String, dynamic> map,
  2. Map<String, dynamic> hostConfig, {
  3. CardRegistry cardRegistry = const CardRegistry(),
  4. required void onSubmit(
    1. Map<String, dynamic> map
    ),
  5. required void onOpenUrl(
    1. String url
    ),
  6. bool showDebugJson = true,
  7. bool approximateDarkThemeColors = true,
})

Implementation

RawAdaptiveCard.fromMap(
    this.map,
    this.hostConfig, {
      this.cardRegistry = const CardRegistry(),
      required this.onSubmit,
      required this.onOpenUrl,
      this.showDebugJson = true,
      this.approximateDarkThemeColors = true,
    });