toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "heading": heading.toMap(),
      "body": body.toMap(),
      "cta": cta.toMap(),
      "bgImageId": bgImageId,
      "bgImageUrl": bgImageUrl,
    };