toJson method

Object toJson()

Implementation

Object toJson() => raw ?? (from == to ? from : '$from-$to');