toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => {
      '_elementId': _elementId,
      'title': title,
      'items': items.map((AAPaneItem item) => item.toJson()).toList(),
      'actions':
          actions.map((AAPaneAction action) => action.toJson()).toList(),
      'imageUrl': imageUrl,
      'imageTint': imageTint?.toJson(),
      'isLoading': isLoading,
    };