toJson method

Map<String, dynamic> toJson()

Implementation

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