toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'layout_direction': layoutDirection,
      'main_caption': mainCaption?.toJson(),
      'sub_caption': subCaption?.toJson(),
    };