toJson method

Map<String, dynamic> toJson()

Implementation

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