toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'lowerOpen': lowerOpen,
    'upperOpen': upperOpen,
    if (lower != null) 'lower': lower!.toJson(),
    if (upper != null) 'upper': upper!.toJson(),
  };
}