Map<String, dynamic> toJson() => <String, dynamic>{ 'layout_direction': layoutDirection, 'content': footerContent?.map((e) => e.toJson()).toList(), };