toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (accessType != null) 'accessType': accessType,
      if (condition != null) 'condition': condition,
      'dataId': dataId,
      if (hitCondition != null) 'hitCondition': hitCondition,
    };