toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.content != null) {
    json[r'content'] = this.content;
  } else {
    json[r'content'] = null;
  }
  if (this.transition != null) {
    json[r'transition'] = this.transition;
  } else {
    json[r'transition'] = null;
  }
  return json;
}