toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final stylePassthrough = this.stylePassthrough;
  return {
    if (stylePassthrough != null)
      'stylePassthrough': stylePassthrough.toValue(),
  };
}