toJson method

  1. @override
Map<String, dynamic> toJson()
override

Serializes a Presentation to its RWPM JSON representation.

Implementation

@override
Map<String, dynamic> toJson() => {}
  ..putOpt("clipped", clipped)
  ..putOpt("continuous", continuous)
  ..putOpt("fit", fit?.value)
  ..putOpt("orientation", orientation?.value)
  ..putOpt("overflow", overflow?.value)
  ..putOpt("spread", spread?.value)
  ..putOpt("layout", layout?.value);