toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (downRule != null) 'downRule': downRule!,
      if (id != null) 'id': id!,
      if (upRule != null) 'upRule': upRule!,
    };