toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (andCondition != null) 'andCondition': andCondition!,
      if (orCondition != null) 'orCondition': orCondition!,
      if (percent != null) 'percent': percent!,
    };