toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  '_elementId': _elementId,
  'titleVariants': titleVariants,
  'image': image,
  'imageTint': imageTint?.toJson(),
  'onPress': onPress != null ? true : false,
  'runtimeType': 'FCPGridButton',
};